Included 'Alias' field for examine (issue98). Fixed a rare traceback with @reload in situations when it tried to move on before modules has time to finish reloading. Also clarified how @perm and examine display information.

This commit is contained in:
Griatch 2010-09-03 21:17:51 +00:00
parent e2f92f0bfe
commit ec5295b973
5 changed files with 58 additions and 33 deletions

View file

@ -6,6 +6,7 @@ import datetime
from django.db import models
from django.contrib.auth.models import User
from src.typeclasses.managers import returns_typeclass_list, returns_typeclass
from src.utils import logger
#
# Player Manager
@ -32,7 +33,7 @@ def returns_player_list(method):
try:
players.append(user.get_profile())
except Exception:
players.append(user)
logger.log_trace("User has no profile(), maybe database was partially reset?")
return players
return func