Mercurial > public > mercurial-scm > hg-stable
diff setup.py @ 27637:b502138f5faa
cleanup: remove superfluous space after space after equals (python)
author | timeless <timeless@mozdev.org> |
---|---|
date | Thu, 31 Dec 2015 08:16:59 +0000 |
parents | 7a70ae647e54 |
children | f6d73c8756e2 |
line wrap: on
line diff
--- a/setup.py Mon Jan 04 21:54:46 2016 -0800 +++ b/setup.py Thu Dec 31 08:16:59 2015 +0000 @@ -210,7 +210,7 @@ kw = dict([[t.strip() for t in l.split(':', 1)] for l in open('.hg_archival.txt')]) if 'tag' in kw: - version = kw['tag'] + version = kw['tag'] elif 'latesttag' in kw: if 'changessincelatesttag' in kw: version = '%(latesttag)s+%(changessincelatesttag)s-%(node).12s' % kw @@ -500,7 +500,7 @@ rest = self.install_dir[len(common):] uplevel = len([n for n in os.path.split(rest) if n]) - libdir = uplevel * ('..' + os.sep) + self.install_lib[len(common):] + libdir = uplevel * ('..' + os.sep) + self.install_lib[len(common):] for outfile in self.outfiles: fp = open(outfile, 'rb')