From ebdb04848a3d3859afdecda8649967920679bd2c Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 22 Mar 2011 01:17:16 -0400 Subject: [PATCH] fix for found arg at pos 0 --- clint/arguments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clint/arguments.py b/clint/arguments.py index b261c2e..76d643e 100644 --- a/clint/arguments.py +++ b/clint/arguments.py @@ -90,7 +90,7 @@ class Args(object): def _remove(x): found = self.first(x) - if found: + if found is not None: self._args.pop(found) if is_collection(x):