aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/rpmutil.py
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-05-29 14:44:38 +0200
committerPapoteur <papoteur@mageialinux-online.org>2016-05-29 14:44:38 +0200
commit26f45c6548d4671b1792dbcf8411929f8ec145ae (patch)
tree0b758f801cbb41a998b61ab6635794f0ac5035a9 /MgaRepo/rpmutil.py
parent62adf7a95c70bf83890587f3d7d6f58e86ae12a3 (diff)
parent3e3e90e699192df60eeafb2ec7a9e087aff97195 (diff)
downloadmgarepo-26f45c6548d4671b1792dbcf8411929f8ec145ae.tar
mgarepo-26f45c6548d4671b1792dbcf8411929f8ec145ae.tar.gz
mgarepo-26f45c6548d4671b1792dbcf8411929f8ec145ae.tar.bz2
mgarepo-26f45c6548d4671b1792dbcf8411929f8ec145ae.tar.xz
mgarepo-26f45c6548d4671b1792dbcf8411929f8ec145ae.zip
Add commits before python3 divergence
Merge commit '3e3e90e699192df60eeafb2ec7a9e087aff97195' into topic/python2
Diffstat (limited to 'MgaRepo/rpmutil.py')
-rw-r--r--MgaRepo/rpmutil.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/MgaRepo/rpmutil.py b/MgaRepo/rpmutil.py
index 84ebf52..9d82951 100644
--- a/MgaRepo/rpmutil.py
+++ b/MgaRepo/rpmutil.py
@@ -488,7 +488,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,