summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-07-06 16:39:52 -0700
committerJesse Keating <jkeating@redhat.com>2010-07-06 16:39:52 -0700
commit04a9f9f7614b5213b0a94d7758f4bac0b4b16b47 (patch)
tree05a3bc07ecdf96ba0aedc8ac73ca4fdc1763a594 /src
parenteacd2831afe51e593b6ee5213eb4b13400ec9804 (diff)
downloadfedora-packager-04a9f9f7614b5213b0a94d7758f4bac0b4b16b47.tar.gz
fedora-packager-04a9f9f7614b5213b0a94d7758f4bac0b4b16b47.tar.xz
fedora-packager-04a9f9f7614b5213b0a94d7758f4bac0b4b16b47.zip
Do the upload now that we have an upload target
Diffstat (limited to 'src')
-rwxr-xr-xsrc/fedpkg.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index 8452a4d..e870550 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -461,6 +461,7 @@ def import_srpm(args):
try:
mymodule = pyfedpkg.PackageModule(args.path)
uploadfiles = pyfedpkg.import_srpm(mymodule.repo, args.srpm)
+ mymodule.upload(uploadfiles, replace=True)
except pyfedpkg.FedpkgError, e:
log.error('Could import srpm: %s' % e)
sys.exit(1)