summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2017-11-28 10:32:55 +0200
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-11-28 16:06:52 +0000
commit283de270987dbd17a3cf2285da60722d4b5cc001 (patch)
tree3e5d55fb26a4abedeccf4305c0003339cfdba2d7 /scripts
parent08b479bc105af9ee50ce3d67d7661bd85fc6437f (diff)
downloadpsycopg2-283de270987dbd17a3cf2285da60722d4b5cc001.tar.gz
Remove redundant parentheses
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/refcounter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/refcounter.py b/scripts/refcounter.py
index 9e900cf..305dd1b 100755
--- a/scripts/refcounter.py
+++ b/scripts/refcounter.py
@@ -43,7 +43,7 @@ def main():
dump(i, opt)
f1 = open('debug-%02d.txt' % (opt.nruns - 1)).readlines()
- f2 = open('debug-%02d.txt' % (opt.nruns)).readlines()
+ f2 = open('debug-%02d.txt' % opt.nruns).readlines()
for line in difflib.unified_diff(f1, f2,
"run %d" % (opt.nruns - 1), "run %d" % opt.nruns):
sys.stdout.write(line)
@@ -52,7 +52,7 @@ def main():
if opt.objs:
f1 = open('objs-%02d.txt' % (opt.nruns - 1)).readlines()
- f2 = open('objs-%02d.txt' % (opt.nruns)).readlines()
+ f2 = open('objs-%02d.txt' % opt.nruns).readlines()
for line in difflib.unified_diff(f1, f2,
"run %d" % (opt.nruns - 1), "run %d" % opt.nruns):
sys.stdout.write(line)