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 48f2caf12c
commit e4f85d2462
2 changed files with 3 additions and 3 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