Skip to content

Commit

Permalink
Use super in preference to passing self
Browse files Browse the repository at this point in the history
  • Loading branch information
philipnrmn committed Nov 8, 2017
1 parent dc6ee31 commit 6867884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/dcoscli/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class EmptyMetricsException(DCOSException):
def __init__(self):
DCOSException.__init__(self, 'No metrics found')
super().__init__('No metrics found')


def _gib(n):
Expand Down

0 comments on commit 6867884

Please sign in to comment.