diff options
author | Jesse Keating <jkeating@redhat.com> | 2010-07-06 16:39:52 -0700 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2010-07-06 16:39:52 -0700 |
commit | 04a9f9f7614b5213b0a94d7758f4bac0b4b16b47 (patch) | |
tree | 05a3bc07ecdf96ba0aedc8ac73ca4fdc1763a594 /src | |
parent | eacd2831afe51e593b6ee5213eb4b13400ec9804 (diff) | |
download | fedora-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-x | src/fedpkg.py | 1 |
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) |