args.find is now args.first

This commit is contained in:
Kenneth Reitz
2011-03-21 22:33:39 -04:00
parent d043fd0a56
commit 1cdb5dca3f
+1 -1
View File
@@ -89,7 +89,7 @@ class Args(object):
"""Removes given arg (or list thereof) from Args object."""
def _remove(x):
found = self.find(x)
found = self.first(x)
if found:
self._args.pop(found)