Further work on stabilizing output across different situations.
This commit is contained in:
parent
bac8f51401
commit
23e63111cc
2 changed files with 89 additions and 70 deletions
|
|
@ -503,6 +503,8 @@ class LockHandler(object):
|
|||
or (hasattr(accessing_obj, 'player') and hasattr(accessing_obj.player, 'is_superuser') and accessing_obj.player.is_superuser)
|
||||
or (hasattr(accessing_obj, 'get_player') and (not accessing_obj.get_player() or accessing_obj.get_player().is_superuser))):
|
||||
return True
|
||||
if not ":" in lockstring:
|
||||
lockstring = "%s:%s" % ("_dummy", lockstring)
|
||||
|
||||
locks = self._parse_lockstring(lockstring)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue