mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user