Change to use super() instead of the old py2 style everywhere
This commit is contained in:
parent
55237f20a7
commit
5859de7054
33 changed files with 69 additions and 70 deletions
|
|
@ -808,7 +808,7 @@ class PuzzleSystemCmdSet(CmdSet):
|
|||
"""
|
||||
|
||||
def at_cmdset_creation(self):
|
||||
super(PuzzleSystemCmdSet, self).at_cmdset_creation()
|
||||
super().at_cmdset_creation()
|
||||
|
||||
self.add(CmdCreatePuzzleRecipe())
|
||||
self.add(CmdEditPuzzle())
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ from . import puzzles
|
|||
|
||||
class TestPuzzles(BaseEvenniaCommandTest):
|
||||
def setUp(self):
|
||||
super(TestPuzzles, self).setUp()
|
||||
super().setUp()
|
||||
self.steel = create_object(self.object_typeclass, key="steel", location=self.char1.location)
|
||||
self.flint = create_object(self.object_typeclass, key="flint", location=self.char1.location)
|
||||
self.fire = create_object(self.object_typeclass, key="fire", location=self.char1.location)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue