You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A) What steps will reproduce the problem? @py self.locks.get('puppet') B) What is the expected output? What do you see instead (tracebacks, error messages)? The documentation says it returns a string, but apparently it returns something else.
self.locks.get('puppet')
<<< (u'%s or %s or %s', ((<function id at 0x1cac140>, [u'#1'], {}), (<function perm at 0x1ca8de8>, [u'Immortals'], {}), (<function pperm at 0x1ca8ed8>, [u'Immortals'], {})), u'puppet:id(#1) or perm(Immortals) or pperm(Immortals)') C) What version/revision of Evennia are you using? On what operating system? Give as much information as possible to make it easier for developers to recreate the problem. Latest version from mercurial at the time of bug filing. D) Please provide any additional information or suggestions below. I want to check to see if a specific check's lock string has a specific value. It seemed by the documentation that 'get()' was what I needed. Let me know if there's a better option.
From daniel@benoy.name on October 03, 2012 03:53:31
A) What steps will reproduce the problem? @py self.locks.get('puppet') B) What is the expected output? What do you see instead (tracebacks, error messages)? The documentation says it returns a string, but apparently it returns something else.
Original issue: http://code.google.com/p/evennia/issues/detail?id=282
The text was updated successfully, but these errors were encountered: