policycoreutils/semanage/seobject.py:setransRecords: improper string subst
A small fix for the wrong number of arguments for python string substitution.
--- policycoreutils/semanage/seobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
policycoreutils/semanage/seobject.py +1 -1
@@ -139,7 +139,7 @@ class setransRecords: translations = fd.readlines() fd.close() except IOError, e: - raise ValueError(_("Unable to open %s: translations not supported on non-MLS machines") % (self.filename, e) ) + raise ValueError(_("Unable to open %s: translations not supported on non-MLS machines") % (self.filename) ) self.ddict = {} self.comments = []
Signature · 9 lines
Caleb Case Tresys Technology 410.290.1411 x144 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Stephen Smalley
AppliedQuoted 10 lines · Caleb Case
A small fix for the wrong number of arguments for python string substitution.
--- policycoreutils/semanage/seobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Index:
selinux-pms-support/policycoreutils/semanage/seobject.py
===================================================================
policycoreutils/semanage/seobject.py class setransRecords: · line 145
Quoted 8 lines
policycoreutils/semanage/seobject.py +1
-1@@ -139,7 +139,7 @@ class setransRecords: translations = fd.readlines() fd.close() except IOError, e: - raise ValueError(_("Unable to open %s: translations not supported on non-MLS machines") % (self.filename, e) ) + raise ValueError(_("Unable to open %s: translations not supported on non-MLS machines") % (self.filename) ) self.ddict = {} self.comments = []
Merged to -stable and -trunk.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.