From: <ssm...@us...> - 2006-10-17 15:00:52
|
Revision: 2054 http://svn.sourceforge.net/selinux/?rev=2054&view=rev Author: ssmalley Date: 2006-10-17 08:00:45 -0700 (Tue, 17 Oct 2006) Log Message: ----------- Extract bug fix from Fedora policycoreutils-rhat.patch for semanage. This one initializes oldserange so that it is defined in the exception handler. Modified Paths: -------------- trunk/policycoreutils/semanage/seobject.py Modified: trunk/policycoreutils/semanage/seobject.py =================================================================== --- trunk/policycoreutils/semanage/seobject.py 2006-10-17 14:52:48 UTC (rev 2053) +++ trunk/policycoreutils/semanage/seobject.py 2006-10-17 15:00:45 UTC (rev 2054) @@ -486,6 +486,7 @@ def modify(self, name, roles = [], selevel = "", serange = "", prefix = ""): oldroles = "" + oldserange = "" newroles = string.join(roles, ' '); try: if prefix == "" and len(roles) == 0 and serange == "" and selevel == "": This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |