From 243200e36fcda2472a3cc70d43866a3a28d70640 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 17 Jun 2013 23:40:15 +0200 Subject: variable rename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/argparser.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/argparser.py b/src/argparser.py index 624856b..61312f3 100644 --- a/src/argparser.py +++ b/src/argparser.py @@ -188,9 +188,9 @@ class ArgParser(): argqueue = [] optqueue = [] - deque = [] + queue = [] for arg in argv[1:]: - deque.append(arg) + queue.append(arg) dashed = False tmpdashed = False @@ -205,9 +205,9 @@ class ArgParser(): sys.stderr.write('%s: warning: unrecognised option %s\n' % (self.program, arg)) self.rc = False - while len(deque) != 0: - arg = deque[0] - deque = deque[1:] + while len(queue) != 0: + arg = queue[0] + queue = queue[1:] if (get > 0) and (dontget == 0): get -= 1 argqueue.append(arg) -- cgit v1.2.3-70-g09d2