mirror of https://github.com/python/cpython
get rid of spurious print
This commit is contained in:
parent
967e509a81
commit
a46fb3841b
|
@ -829,7 +829,6 @@ if __name__ == "__main__":
|
||||||
for k, v in opts:
|
for k, v in opts:
|
||||||
if k == '-v':
|
if k == '-v':
|
||||||
ASTVisitor.VERBOSE = ASTVisitor.VERBOSE + 1
|
ASTVisitor.VERBOSE = ASTVisitor.VERBOSE + 1
|
||||||
print k
|
|
||||||
if k == '-q':
|
if k == '-q':
|
||||||
f = open('/dev/null', 'wb')
|
f = open('/dev/null', 'wb')
|
||||||
sys.stdout = f
|
sys.stdout = f
|
||||||
|
|
|
@ -829,7 +829,6 @@ if __name__ == "__main__":
|
||||||
for k, v in opts:
|
for k, v in opts:
|
||||||
if k == '-v':
|
if k == '-v':
|
||||||
ASTVisitor.VERBOSE = ASTVisitor.VERBOSE + 1
|
ASTVisitor.VERBOSE = ASTVisitor.VERBOSE + 1
|
||||||
print k
|
|
||||||
if k == '-q':
|
if k == '-q':
|
||||||
f = open('/dev/null', 'wb')
|
f = open('/dev/null', 'wb')
|
||||||
sys.stdout = f
|
sys.stdout = f
|
||||||
|
|
Loading…
Reference in New Issue