Package conary :: Package lib
[hide private]
[frames] | no frames]

Source Code for Package conary.lib

 1  # 
 2  # Copyright (c) 2004-2008 rPath, Inc. 
 3  # 
 4  # This program is distributed under the terms of the Common Public License, 
 5  # version 1.0. A copy of this license should have been distributed with this 
 6  # source file in a file called LICENSE. If it is not present, the license 
 7  # is always available at http://www.rpath.com/permanent/licenses/CPL-1.0. 
 8  # 
 9  # This program is distributed in the hope that it will be useful, but 
10  # without any warranty; without even the implied warranty of merchantability 
11  # or fitness for a particular purpose. See the Common Public License for 
12  # full details. 
13   
14  """ 
15  The lib module provides code utility functions which are not 
16  conary-specific. 
17  """ 
18  # BW compatibility - old code will expect to see MainHandler in 
19  # options.py. 
20  from conary.lib.command import AbstractCommand 
21  from conary.lib.mainhandler import MainHandler 
22  from conary.lib import options as _options 
23  _options.MainHandler = MainHandler 
24  _options.AbstractCommand = AbstractCommand 
25