Remove unnecessary object from class definitions

In Python 3, all classes are new-style classes. The object in the
definition is redundant and unnecessary.
This commit is contained in:
Jon Dufresne
2018-09-11 06:48:35 -07:00
parent 844a3a5c22
commit 490e4aed41
70 changed files with 115 additions and 116 deletions

View File

@@ -84,7 +84,7 @@ def processing(message):
print('done')
class Changes(object):
class Changes:
def __init__(self, path):
self.path = path
self.fetch_version()