diff options
author | Olav Vitters <olav@vitters.nl> | 2015-10-08 21:41:42 +0200 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2015-10-08 21:41:42 +0200 |
commit | 3e3e90e699192df60eeafb2ec7a9e087aff97195 (patch) | |
tree | b0c308f1fe7dbca22c629616d324da95bfb2bfad | |
parent | c7b283c9d2d17324b19a2cb9fa1a128bf092c911 (diff) | |
download | mgarepo-3e3e90e699192df60eeafb2ec7a9e087aff97195.tar mgarepo-3e3e90e699192df60eeafb2ec7a9e087aff97195.tar.gz mgarepo-3e3e90e699192df60eeafb2ec7a9e087aff97195.tar.bz2 mgarepo-3e3e90e699192df60eeafb2ec7a9e087aff97195.tar.xz mgarepo-3e3e90e699192df60eeafb2ec7a9e087aff97195.zip |
Make mgarepo ci -s work
When only fetching the spec file, mgarepo still tried to retrieve the
binaries. This resulted in an error message. Really only download the
spec file.
-rw-r--r-- | MgaRepo/rpmutil.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MgaRepo/rpmutil.py b/MgaRepo/rpmutil.py index 325c0ce..53fb3b2 100644 --- a/MgaRepo/rpmutil.py +++ b/MgaRepo/rpmutil.py @@ -474,7 +474,8 @@ def checkout(pkgdirurl, path=None, revision=None, branch=None, distro=None, mirror.info(current, write=True) svn = SVN() svn.checkout(current, path, rev=revision, show=1) - binrepo.download_binaries(path) + if not spec: + binrepo.download_binaries(path) def getpkgtopdir(basedir=None): #FIXME this implementation doesn't work well with relative path names, |