Use new-style classes consistently for Python 3 support.

Also add the fixer for this to our list of fixers we check.
This commit is contained in:
Tim Abbott
2015-10-14 16:43:04 -04:00
parent f52ffa7923
commit f6f8f1fe36
11 changed files with 27 additions and 26 deletions

View File

@@ -824,13 +824,13 @@ def wildcard_present(path):
m = re.search("[*#@%]", path)
return m is not None
class Command:
class Command(object):
def __init__(self):
self.usage = "usage: %prog [options]"
self.needsGit = True
self.verbose = False
class P4UserMap:
class P4UserMap(object):
def __init__(self):
self.userMapFromPerforceServer = False
self.myP4UserId = None