Removed some debug output.
This commit is contained in:
parent
91b23f58a4
commit
f521b8129e
1 changed files with 0 additions and 3 deletions
|
|
@ -654,10 +654,8 @@ class ObjectDB(TypedObject):
|
||||||
object as a destination.
|
object as a destination.
|
||||||
"""
|
"""
|
||||||
for out_exit in [exi for exi in ObjectDB.objects.get_contents(self) if exi.db_destination]:
|
for out_exit in [exi for exi in ObjectDB.objects.get_contents(self) if exi.db_destination]:
|
||||||
print "objects.clear_exits (out):", out_exit
|
|
||||||
out_exit.delete()
|
out_exit.delete()
|
||||||
for in_exit in ObjectDB.objects.filter(db_destination=self):
|
for in_exit in ObjectDB.objects.filter(db_destination=self):
|
||||||
print "objects.clear_exits (in):", in_exit
|
|
||||||
in_exit.delete()
|
in_exit.delete()
|
||||||
|
|
||||||
def clear_contents(self):
|
def clear_contents(self):
|
||||||
|
|
@ -679,7 +677,6 @@ class ObjectDB(TypedObject):
|
||||||
default_home = None
|
default_home = None
|
||||||
|
|
||||||
for obj in objs:
|
for obj in objs:
|
||||||
print "object.clear_contents:", obj
|
|
||||||
home = obj.home
|
home = obj.home
|
||||||
# Obviously, we can't send it back to here.
|
# Obviously, we can't send it back to here.
|
||||||
if not home or (home and home.dbid == _GA(self, "dbid")):
|
if not home or (home and home.dbid == _GA(self, "dbid")):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue