[entropy.client.interfaces.sets] fix undefined variable: err

This commit is contained in:
Fabio Erculiani
2013-11-29 13:10:10 +01:00
parent b08389db21
commit 734fe7a0f9
+1 -1
View File
@@ -286,7 +286,7 @@ class Sets:
try:
os.remove(set_file)
except OSError:
except OSError as err:
if err.errno != errno.ENOENT:
raise InvalidPackageSet(_("Set not found or unable to remove"))