diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index 5ba52c6..8c5bf3b 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -44,7 +44,7 @@ import select DEFAULT_SITE = "https://api.zulip.com" -class States: +class States(object): Startup, ZulipToZephyr, ZephyrToZulip, ChildSending = list(range(4)) CURRENT_STATE = States.Startup diff --git a/integrations/perforce/git_p4.py b/integrations/perforce/git_p4.py index a9b086c..45378a0 100644 --- a/integrations/perforce/git_p4.py +++ b/integrations/perforce/git_p4.py @@ -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