# HG changeset patch # User Augie Fackler # Date 1264452682 21600 # Node ID 3c2f3444ffba4eb20ee5dcd20003003368a1d244 # Parent 6b084ea39537e7df3eb0459231fd47786ebb4659 setup: remove bogus print statements diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -48,9 +48,7 @@ if os.path.isdir('.hg'): # error 0xc0150004. See: http://bugs.python.org/issue3440 env['SystemRoot'] = os.environ['SystemRoot'] cmd = ['hg', 'id', '-i', '-t'] - print runcmd(cmd, env) l = runcmd(cmd, env).split() - print l while len(l) > 1 and l[-1][0].isalpha(): # remove non-numbered tags l.pop() if len(l) > 1: # tag found @@ -64,7 +62,6 @@ if os.path.isdir('.hg'): if not version: version = runcmd(['hg', 'parents', '--template' '{node|short}\n'], env) - print 'xxx', version if version: version = version.split()[0] if version.endswith('+'):