summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2016-09-05 20:25:11 -0700
committerAmjith Ramanujam <amjith.r@gmail.com>2016-09-05 20:25:11 -0700
commit5afec288f5745bff3614686215595db0ad843969 (patch)
tree98f8ee595371c94c729075b4396a72cd792ba7db
parent36734f338311b4fa2ee330ea74b5f86de0e52024 (diff)
Remove cumulative addition of timing data.
-rwxr-xr-xpgcli/main.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pgcli/main.py b/pgcli/main.py
index 4d29e0aa..2c8a6517 100755
--- a/pgcli/main.py
+++ b/pgcli/main.py
@@ -583,8 +583,7 @@ class PGCli(object):
self.pgspecial.expanded_output, max_width)
output.extend(formatted)
- end = time()
- total += end - start
+ total = time() - start
# Keep track of whether any of the queries are mutating or changing
# the database