summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.py
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-07-06 16:12:18 -0700
committerJesse Keating <jkeating@redhat.com>2010-07-06 16:12:18 -0700
commit14cbfc425f114dc376c0512c59d816595d0dfb4e (patch)
tree87b1575b91752b55b611b45391b39e2ee6b467cb /src/fedpkg.py
parent31d33995d14e49ac02e49998f21fdf8ab64af655 (diff)
downloadfedora-packager-14cbfc425f114dc376c0512c59d816595d0dfb4e.zip
fedora-packager-14cbfc425f114dc376c0512c59d816595d0dfb4e.tar.gz
fedora-packager-14cbfc425f114dc376c0512c59d816595d0dfb4e.tar.xz
Rename source uploading function
This way we can reuse it for new-sources as well as just plain upload. The difference is new-sources replaces current content, upload just adds additional content.
Diffstat (limited to 'src/fedpkg.py')
-rwxr-xr-xsrc/fedpkg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index a86bd37..2c8acac 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -533,7 +533,7 @@ def new(args):
def new_sources(args):
try:
mymodule = pyfedpkg.PackageModule(args.path)
- mymodule.new_sources(args.files)
+ mymodule.upload(args.files, replace=True)
except pyfedpkg.FedpkgError, e:
log.error('Could not upload new sources: %s' % e)
sys.exit(1)