backend/satellite_tools/reposync.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 5e04bd6ad1769e3df33a67e171a9b0605ccdd5e5
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Mon Oct 26 13:24:05 2009 +0100
removed redundant else; we call associate_package anyway
diff --git a/backend/satellite_tools/reposync.py b/backend/satellite_tools/reposync.py
index b1b57e6..298f740 100644
--- a/backend/satellite_tools/reposync.py
+++ b/backend/satellite_tools/reposync.py
@@ -143,9 +143,7 @@ class RepoSync:
self.channel['org_id'], md5)
if pid is None:
self.upload_package(pack, path)
- self.associate_package(pack, md5)
- else:
- self.associate_package(pack, md5) #package is already on the
satellite, lets just associate
+ self.associate_package(pack, md5)
if self.url.find("file://") < 0:
os.remove(path)
Show replies by date