diff options
author | Jesse Keating <jkeating@redhat.com> | 2010-07-28 17:48:00 -0700 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2010-07-29 12:34:30 -0700 |
commit | 92fc81be7af5b6e78a6fbad5aed9c2ac47eae60c (patch) | |
tree | d02704ef9cbf1f2b80c78784536e9ee7ee8069fa /src/fedpkg.py | |
parent | c7250aec5249264595d8679ed24fefc56d5eeead (diff) | |
download | fedora-packager-92fc81be7af5b6e78a6fbad5aed9c2ac47eae60c.tar.gz fedora-packager-92fc81be7af5b6e78a6fbad5aed9c2ac47eae60c.tar.xz fedora-packager-92fc81be7af5b6e78a6fbad5aed9c2ac47eae60c.zip |
Move 'sources' to not be part of the class
This might work around a weird issue where the koji builders can't read
the git config strings in the chroot
Diffstat (limited to 'src/fedpkg.py')
-rwxr-xr-x | src/fedpkg.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py index edc7bb2..e99c476 100755 --- a/src/fedpkg.py +++ b/src/fedpkg.py @@ -574,8 +574,7 @@ def scratchbuild(args): def sources(args): try: - mymodule = pyfedpkg.PackageModule(args.path) - mymodule.sources(args.outdir) + pyfedpkg.sources(args.path, args.outdir) except pyfedpkg.FedpkgError, e: log.error('Could not download sources: %s' % e) sys.exit(1) @@ -583,7 +582,7 @@ def sources(args): def srpm(args): try: mymodule = pyfedpkg.PackageModule(args.path) - mymodule.sources(args.path) + pyfedpkg.sources(args.path) if args.md5: mymodule.srpm('md5') else: |