diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2010-08-05 12:34:23 +0200 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2010-08-05 12:34:23 +0200 |
commit | 3f5b205c9602b15ccf17d742f4a08b6f22adbb7f (patch) | |
tree | f4ac24a0aebebb63b7401d862d99b19fabd99ebb | |
parent | 022eb001862e97f9c98a01109f7ddd1c361eccbb (diff) | |
download | fedora-packager-3f5b205c9602b15ccf17d742f4a08b6f22adbb7f.tar.gz fedora-packager-3f5b205c9602b15ccf17d742f4a08b6f22adbb7f.tar.xz fedora-packager-3f5b205c9602b15ccf17d742f4a08b6f22adbb7f.zip |
Remove obsolete main() & Co
-rwxr-xr-x | src/pyfedpkg/initial_merge.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/pyfedpkg/initial_merge.py b/src/pyfedpkg/initial_merge.py index 21f05ac..9ebf66e 100755 --- a/src/pyfedpkg/initial_merge.py +++ b/src/pyfedpkg/initial_merge.py @@ -174,14 +174,6 @@ def handle_path(path=None): os.chdir(oldcwd) -def main(args): - if args: - for d in args: - handle_path(d) - else: - handle_curdir() - - class Action(argparse.Action): def __init__(self, *args, **kwargs): @@ -209,7 +201,3 @@ def get_parser(subparsers): help = 'The directories with the repos to initial-merge') sp.set_defaults(command = fedpkg_command) return sp - - -if __name__ == '__main__': - main(sys.argv[1:]) |