summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/fedpkg.py')
-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)