diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-08-17 20:02:58 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-08-17 20:02:58 +0000 |
commit | f49e46ffa17a2fec832f341ee49cabdd0c5818ac (patch) | |
tree | b5b916c4fcdcecc23e575ba2ae150007aa8a5602 /MgaRepo/rpmutil.py | |
parent | bfa821f2fa82b8ad217b3f5637f70282a7ebf8ed (diff) | |
download | mgarepo-f49e46ffa17a2fec832f341ee49cabdd0c5818ac.tar mgarepo-f49e46ffa17a2fec832f341ee49cabdd0c5818ac.tar.gz mgarepo-f49e46ffa17a2fec832f341ee49cabdd0c5818ac.tar.bz2 mgarepo-f49e46ffa17a2fec832f341ee49cabdd0c5818ac.tar.xz mgarepo-f49e46ffa17a2fec832f341ee49cabdd0c5818ac.zip |
update import_binaries for new binrepo
Diffstat (limited to 'MgaRepo/rpmutil.py')
-rw-r--r-- | MgaRepo/rpmutil.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MgaRepo/rpmutil.py b/MgaRepo/rpmutil.py index 2442efb..a05511a 100644 --- a/MgaRepo/rpmutil.py +++ b/MgaRepo/rpmutil.py @@ -258,6 +258,8 @@ def put_srpm(srpmfile, markrelease=False, striplog=True, branch=None, for entry in [x for x in usourcesentries if x not in sourcesentries]: entrypath = os.path.join(sourcesdir, entry) + if binrepo.is_binary(entrypath): + continue svn.add(entrypath) finally: if os.path.isdir(unpackdir): |