Abstraction of generic player object searches, as should've been case from the beginning. Bad me for letting this get out of hand! In any case, this eliminated a lot of code and makes pretty much all of the commands that interact with objects a lot neater, readable, and consistent.

This commit is contained in:
Greg Taylor 2007-05-24 14:22:11 +00:00
parent b47d0d2b07
commit b6c869b076
4 changed files with 154 additions and 226 deletions

View file

@ -49,7 +49,7 @@ def log_errmsg(errormsg):
errormsg: (string) The message to be logged.
"""
log.error('ERROR: %s' % (errormsg,))
log.err('ERROR: %s' % (errormsg,))
def log_infomsg(infomsg):
"""