summaryrefslogtreecommitdiffstats
path: root/subcmds/sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r--subcmds/sync.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index df23034b..9e4c7750 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -217,7 +217,7 @@ later is required to fix a server side protocol bug.
217 p.add_option('-l', '--local-only', 217 p.add_option('-l', '--local-only',
218 dest='local_only', action='store_true', 218 dest='local_only', action='store_true',
219 help="only update working tree, don't fetch") 219 help="only update working tree, don't fetch")
220 p.add_option('--no-manifest-update','--nmu', 220 p.add_option('--no-manifest-update', '--nmu',
221 dest='mp_update', action='store_false', default='true', 221 dest='mp_update', action='store_false', default='true',
222 help='use the existing manifest checkout as-is. ' 222 help='use the existing manifest checkout as-is. '
223 '(do not update to the latest revision)') 223 '(do not update to the latest revision)')
@@ -1136,7 +1136,7 @@ class _FetchTimes(object):
1136 old = self._times.get(name, t) 1136 old = self._times.get(name, t)
1137 self._seen.add(name) 1137 self._seen.add(name)
1138 a = self._ALPHA 1138 a = self._ALPHA
1139 self._times[name] = (a*t) + ((1-a) * old) 1139 self._times[name] = (a * t) + ((1 - a) * old)
1140 1140
1141 def _Load(self): 1141 def _Load(self):
1142 if self._times is None: 1142 if self._times is None:
@@ -1208,7 +1208,7 @@ class PersistentTransport(xmlrpc.client.Transport):
1208 if proxy: 1208 if proxy:
1209 proxyhandler = urllib.request.ProxyHandler({ 1209 proxyhandler = urllib.request.ProxyHandler({
1210 "http": proxy, 1210 "http": proxy,
1211 "https": proxy }) 1211 "https": proxy})
1212 1212
1213 opener = urllib.request.build_opener( 1213 opener = urllib.request.build_opener(
1214 urllib.request.HTTPCookieProcessor(cookiejar), 1214 urllib.request.HTTPCookieProcessor(cookiejar),