backend/satellite_tools/updatePackages.py | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 2c2ecdc9bb933185f8cec116999345bba6353c99
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Sep 30 13:19:50 2009 +0200
If we fail, let us commit the previous updates (done in this transaction).
diff --git a/backend/satellite_tools/updatePackages.py
b/backend/satellite_tools/updatePackages.py
index d7553fa..3e79aaa 100644
--- a/backend/satellite_tools/updatePackages.py
+++ b/backend/satellite_tools/updatePackages.py
@@ -191,6 +191,7 @@ def process_package_data():
try:
hdr = rhn_rpm.get_package_header(filename=old_abs_path)
except IOError:
+ rhnSQL.commit()
raise
if old_abs_path != new_abs_path:
Show replies by date