Examine-cmd support for script/channels. Resolve #2375.
This commit is contained in:
parent
97009037a5
commit
01af303457
5 changed files with 172 additions and 60 deletions
|
|
@ -424,7 +424,7 @@ class ChannelDBManager(TypedObjectManager):
|
|||
dbref = self.dbref(ostring)
|
||||
if dbref:
|
||||
try:
|
||||
return self.get(id=dbref)
|
||||
return [self.get(id=dbref)]
|
||||
except self.model.DoesNotExist:
|
||||
pass
|
||||
if exact:
|
||||
|
|
|
|||
|
|
@ -413,7 +413,7 @@ class Msg(SharedMemoryModel):
|
|||
# ------------------------------------------------------------
|
||||
|
||||
|
||||
class TempMsg(object):
|
||||
class TempMsg:
|
||||
"""
|
||||
This is a non-persistent object for sending temporary messages that will not be stored. It
|
||||
mimics the "real" Msg object, but doesn't require sender to be given.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue