summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/branches.py2
-rw-r--r--subcmds/sync.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/subcmds/branches.py b/subcmds/branches.py
index 33523c38..d9a190be 100644
--- a/subcmds/branches.py
+++ b/subcmds/branches.py
@@ -28,7 +28,7 @@ class BranchColoring(Coloring):
28 self.notinproject = self.printer("notinproject", fg="red") 28 self.notinproject = self.printer("notinproject", fg="red")
29 29
30 30
31class BranchInfo(object): 31class BranchInfo:
32 def __init__(self, name): 32 def __init__(self, name):
33 self.name = name 33 self.name = name
34 self.current = 0 34 self.current = 0
diff --git a/subcmds/sync.py b/subcmds/sync.py
index e1f7d019..dbdaa2c2 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -1908,7 +1908,7 @@ def _PostRepoFetch(rp, repo_verify=True, verbose=False):
1908 print("repo version %s is current" % rp.work_git.describe(HEAD)) 1908 print("repo version %s is current" % rp.work_git.describe(HEAD))
1909 1909
1910 1910
1911class _FetchTimes(object): 1911class _FetchTimes:
1912 _ALPHA = 0.5 1912 _ALPHA = 0.5
1913 1913
1914 def __init__(self, manifest): 1914 def __init__(self, manifest):
@@ -1951,7 +1951,7 @@ class _FetchTimes(object):
1951 platform_utils.remove(self._path, missing_ok=True) 1951 platform_utils.remove(self._path, missing_ok=True)
1952 1952
1953 1953
1954class LocalSyncState(object): 1954class LocalSyncState:
1955 _LAST_FETCH = "last_fetch" 1955 _LAST_FETCH = "last_fetch"
1956 _LAST_CHECKOUT = "last_checkout" 1956 _LAST_CHECKOUT = "last_checkout"
1957 1957