* policycoreutils/semanage/seobject.py:setransRecords: improper string subst
@ 2007-02-06 16:23 Caleb Case
2007-02-20 15:19 ` Stephen Smalley
0 siblings, 1 reply; 2+ messages in thread
From: Caleb Case @ 2007-02-06 16:23 UTC (permalink / raw)
To: ccase, sds, kmacmillan, jbrindle, selinux
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
===================================================================
--- selinux-pms-support.orig/policycoreutils/semanage/seobject.py
+++ selinux-pms-support/policycoreutils/semanage/seobject.py
@@ -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 = []
--
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: policycoreutils/semanage/seobject.py:setransRecords: improper string subst
2007-02-06 16:23 policycoreutils/semanage/seobject.py:setransRecords: improper string subst Caleb Case
@ 2007-02-20 15:19 ` Stephen Smalley
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2007-02-20 15:19 UTC (permalink / raw)
To: Caleb Case; +Cc: kmacmillan, jbrindle, selinux
On Tue, 2007-02-06 at 11:23 -0500, Caleb Case wrote:
> 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
> ===================================================================
> --- selinux-pms-support.orig/policycoreutils/semanage/seobject.py
> +++ selinux-pms-support/policycoreutils/semanage/seobject.py
> @@ -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.
--
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-20 15:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-06 16:23 policycoreutils/semanage/seobject.py:setransRecords: improper string subst Caleb Case
2007-02-20 15:19 ` Stephen Smalley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.