diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2010-02-18 05:12:43 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2010-02-18 05:24:02 +0100 |
commit | 8990dad4eb192d342545589c66555faae88e8301 (patch) | |
tree | 54b84012f2e80537434f38328b07a987b68c003a /bin | |
parent | Add pylint config (diff) | |
download | layman-8990dad4eb192d342545589c66555faae88e8301.tar.gz layman-8990dad4eb192d342545589c66555faae88e8301.tar.bz2 layman-8990dad4eb192d342545589c66555faae88e8301.zip |
Resolve Actions class, allow custom sys.argv for Config class
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/layman | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -6,10 +6,12 @@ # # Copyright: # (c) 2005 Gunnar Wrobel +# (c) 2009 Sebastian Pipping # Distributed under the terms of the GNU General Public License v2 # # Author(s): # Gunnar Wrobel <wrobel@gentoo.org> +# Sebastian Pipping <sebastian@pipping.org> # __version__ = "$Id$" @@ -21,7 +23,7 @@ __version__ = "$Id$" #------------------------------------------------------------------------------- from layman.config import Config -from layman.action import Actions +from layman.action import main #=============================================================================== # @@ -29,9 +31,4 @@ from layman.action import Actions # #------------------------------------------------------------------------------- -def main(): - - Actions(Config()) - -if __name__ == "__main__": - main() +main(Config()) |