# HG changeset patch # User Peter Arrenbrecht # Date 2009-04-27 07:12:07 # Node ID 21cf74ff2deb70d501007fcad8b5d3d7bbfa7f1f # Parent e61cb2813d2a882b807926e6e0aa5b03b3a44908 whitespace cleanup diff --git a/hgext/convert/subversion.py b/hgext/convert/subversion.py --- a/hgext/convert/subversion.py +++ b/hgext/convert/subversion.py @@ -148,8 +148,8 @@ def filecheck(path, proto): # this by requesting a version-controlled URL we know can't exist and looking # for the svn-specific "not found" XML. def httpcheck(path, proto): - return ('' in - urllib.urlopen('%s://%s/!svn/ver/0/.svn' % (proto, path)).read()) + return ('' in + urllib.urlopen('%s://%s/!svn/ver/0/.svn' % (proto, path)).read()) protomap = {'http': httpcheck, 'https': httpcheck, diff --git a/mercurial/posix.py b/mercurial/posix.py --- a/mercurial/posix.py +++ b/mercurial/posix.py @@ -53,7 +53,7 @@ def parse_patch_output(output_line): if pf[0] == '`': pf = pf[1:-1] # Remove the quotes else: - if pf.startswith("'") and pf.endswith("'") and " " in pf: + if pf.startswith("'") and pf.endswith("'") and " " in pf: pf = pf[1:-1] # Remove the quotes return pf