mirror of
https://github.com/evennia/evennia.git
synced 2026-03-20 14:56:30 +01:00
Made unittest suite finish without errors using new proxy system.
This commit is contained in:
parent
71b6600d87
commit
2782e03478
9 changed files with 73 additions and 60 deletions
|
|
@ -279,11 +279,11 @@ class DefaultObject(ObjectDB):
|
|||
"""
|
||||
return any(self.sessions)
|
||||
|
||||
#@property
|
||||
#def is_superuser(self):
|
||||
# "Check if user has a player, and if so, if it is a superuser."
|
||||
# return self.db_player and self.db_player.is_superuser \
|
||||
# and not self.db_player.attributes.get("_quell")
|
||||
@property
|
||||
def is_superuser(self):
|
||||
"Check if user has a player, and if so, if it is a superuser."
|
||||
return self.db_player and self.db_player.is_superuser \
|
||||
and not self.db_player.attributes.get("_quell")
|
||||
|
||||
def contents_get(self, exclude=None):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue