summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-10-08 12:04:35 -0400
committerColin Walters <walters@verbum.org>2010-10-08 12:04:35 -0400
commitad5a0e1b4ba40beac29936f29fe65042b1517e7e (patch)
tree935e50c7a3d363b55f9e7ebe2d685073457a6da3
parentcb25594be8e046a82ddb2ef60ca76f98a1293185 (diff)
downloadrpmci-ad5a0e1b4ba40beac29936f29fe65042b1517e7e.tar.gz
rpmci-ad5a0e1b4ba40beac29936f29fe65042b1517e7e.tar.xz
rpmci-ad5a0e1b4ba40beac29936f29fe65042b1517e7e.zip
srpm-builder: Really fix last commit
-rw-r--r--rpmci/rpmci_srpm_builder_main.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmci/rpmci_srpm_builder_main.py b/rpmci/rpmci_srpm_builder_main.py
index 9bc260a..8e8c1ee 100644
--- a/rpmci/rpmci_srpm_builder_main.py
+++ b/rpmci/rpmci_srpm_builder_main.py
@@ -105,6 +105,8 @@ class SRPMBuilder(object):
updated_srpms = set()
updated_srpm_names = set()
for url in updated_vcs_urls:
+ if srpm in updated_srpms:
+ continue
srpm = self._create_srpm_for_updated_vcs_url(work_dir, url)
updated_srpms.add(srpm)
updated_srpm_names.add(rpmutils.get_rpm_name(os.path.basename(srpm)))