Commit 0f060066 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix undefined variable.

Found by random code reading.
parent 72774aae
......@@ -2862,7 +2862,7 @@ class Base( CopyContainer,
guid += '_' + self.portal_url.getPortalPath()
guid += '_' + str(self.uid)
guid += '_' + str(random.randrange(1,2147483600))
setattr(self,'guid',guid)
setattr(self, 'guid', guid)
security.declareProtected(Permissions.AccessContentsInformation, 'getGuid')
def getGuid(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment