diff options
Diffstat (limited to 'RepSys/commands/upload.py')
-rw-r--r-- | RepSys/commands/upload.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/RepSys/commands/upload.py b/RepSys/commands/upload.py deleted file mode 100644 index 6af50ea..0000000 --- a/RepSys/commands/upload.py +++ /dev/null @@ -1,28 +0,0 @@ -from RepSys import Error -from RepSys.command import * -from RepSys.rpmutil import upload - -HELP = """\ -Usage: repsys upload [OPTIONS] [PATH] - -Upload a given file to the binary sources repository. - -It will also update the contents of the 'binrepo.lst' file and leave it -uncommited. - -If the path is a directory, all the contents of the directory will be -uploaded or removed. - -Options: - -h help - -""" - -def parse_options(): - parser = OptionParser(help=HELP) - opts, args = parser.parse_args() - opts.paths = args - return opts - -def main(): - do_command(parse_options, upload) |