backend/satellite_tools/updatePackages.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6f85a0c6ffc04b294f574707ffdfa555a00dd23d
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Sep 30 13:23:30 2009 +0200
Catch all exceptions, so that we commit in all cases.
diff --git a/backend/satellite_tools/updatePackages.py
b/backend/satellite_tools/updatePackages.py
index 3e79aaa..35a07ba 100644
--- a/backend/satellite_tools/updatePackages.py
+++ b/backend/satellite_tools/updatePackages.py
@@ -190,7 +190,7 @@ def process_package_data():
try:
hdr = rhn_rpm.get_package_header(filename=old_abs_path)
- except IOError:
+ except:
rhnSQL.commit()
raise
Show replies by date