Skip to content

Commit

Permalink
Fix calls to super().
Browse files Browse the repository at this point in the history
  • Loading branch information
shakefu committed Oct 23, 2020
1 parent 25876be commit 9750330
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytool/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def __init__(self, *args, **kwargs):
width = pytool.text.columns()
max_help_position = max(40, int(width / 2))
kwargs['max_help_position'] = max_help_position
super().__init__(*args, **kwargs)
super(CommandFormatter, self).__init__(*args, **kwargs)


def opt(*args, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion pytool/lang.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ class Keyspace(Namespace):
_VALID_NAME = re.compile('.*')

def __init__(self, obj=None):
super().__init__(obj)
super(Keyspace, self).__init__(obj)

def __setitem__(self, key, value):
self.__dict__[key] = value
Expand Down

0 comments on commit 9750330

Please sign in to comment.