summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.py
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-07-14 20:42:02 -0700
committerJesse Keating <jkeating@redhat.com>2010-07-14 20:42:02 -0700
commit37612d9e06726fcce774c1a50a17fdb6d7ecf2df (patch)
tree6701c1f8d9e14d45f20be75c5a9141bfef92ed14 /src/fedpkg.py
parent728dc94b2ec12c4e75097fd078804475c7066ed7 (diff)
downloadfedora-packager-37612d9e06726fcce774c1a50a17fdb6d7ecf2df.zip
fedora-packager-37612d9e06726fcce774c1a50a17fdb6d7ecf2df.tar.gz
fedora-packager-37612d9e06726fcce774c1a50a17fdb6d7ecf2df.tar.xz
Make newsources a parent of upload
Now that I know how...
Diffstat (limited to 'src/fedpkg.py')
-rwxr-xr-xsrc/fedpkg.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index 1f2733f..e69f275 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -881,8 +881,9 @@ packages will be built sequentially.
# upload target takes one or more files as input
parser_upload = subparsers.add_parser('upload',
+ parents = [parser_newsources],
+ conflict_handler = 'resolve',
help = 'Upload source files')
- parser_upload.add_argument('files', nargs = '+')
parser_upload.set_defaults(command = new_sources, replace = False)
# Get version and release