bugfix, when an rpm -e (from /etc/planetlab/delete-rpm-list) fails
Thierry Parmentelat [Mon, 6 May 2013 12:20:38 +0000 (14:20 +0200)]
NodeUpdate.py

index afd0704..704f544 100644 (file)
@@ -252,7 +252,7 @@ class NodeUpdate:
                     Message ("Successfully removed RPM %s"%rpm)
                     continue
                 else:
-                    Error( "Unable to delete RPM %s, continuing. rc=%d" % (rpm,rc ))
+                    Error( "Unable to delete RPM %s, continuing. rc=%d" % (rpm,uninstalled))
             
         else:
             Message( "No RPMs list file found." )