aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-17 11:44:16 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-17 11:44:16 +0200
commit27b1fd5428498a56c86b0e7f6e027b915e340732 (patch)
tree7e96dc5bb2a34ddb2392c7576fb05294a1c990b8
parentbasic check for unsupported keywords (diff)
downloadauto-auto-complete-27b1fd5428498a56c86b0e7f6e027b915e340732.tar.gz
auto-auto-complete-27b1fd5428498a56c86b0e7f6e027b915e340732.tar.bz2
auto-auto-complete-27b1fd5428498a56c86b0e7f6e027b915e340732.tar.xz
whoops, wrong variable name
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rwxr-xr-xauto-auto-complete.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto-auto-complete.py b/auto-auto-complete.py
index 32445e2..84acdd9 100755
--- a/auto-auto-complete.py
+++ b/auto-auto-complete.py
@@ -49,7 +49,7 @@ Abort the program
'''
def abort(text, returncode = 1):
printerr('\033[01;31m%s\033[00m' % text)
- sys.exit(returnvalue)
+ sys.exit(returncode)