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:
parent
b47d0d2b07
commit
b6c869b076
4 changed files with 154 additions and 226 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue