MCPcopy Create free account
hub / github.com/SimHacker/micropolis / destroy

Method destroy

turbogears/micropolis/model.py:426–435  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

424
425
426 def destroy(self):
427
428 for city in self.cities:
429 city.destroy()
430
431 groups = self.groups
432 for group in list(groups):
433 groups.remove(group)
434
435 session.delete(self)
436
437
438class City(object):

Callers 1

_plug_removed_cbMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected