Made some commands sensible to the new form of obj.typeclass (it's not a typeclass instance, not a class). Changed the way TypedObject.swap_typeclass works, so as to properly manage failures.
This commit is contained in:
parent
c8b4f7518d
commit
2c4af9076d
4 changed files with 46 additions and 23 deletions
|
|
@ -374,7 +374,7 @@ class CmdObjects(MuxCommand):
|
|||
table[0].append(utils.datetime_format(obj.date_created))
|
||||
table[1].append(obj.dbref)
|
||||
table[2].append(obj.key)
|
||||
table[3].append(str(obj.typeclass))
|
||||
table[3].append(str(obj.typeclass.path))
|
||||
ftable = utils.format_table(table, 5)
|
||||
for irow, row in enumerate(ftable):
|
||||
srow = "\n" + "".join(row)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue