Permalink
Browse files

Merge pull request #7 from mahmoudhossam/py3k

Use str instead of basestring
  • Loading branch information...
2 parents 212dee4 + d0f8b49 commit 21e1b2463debc3487df2667fe011dae9716abc56 @kennethreitz committed May 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 args.py
View
@@ -34,7 +34,7 @@ def _expand_path(path):
def _is_collection(obj):
"""Tests if an object is a collection. Strings don't count."""
- if isinstance(obj, basestring):
+ if isinstance(obj, str):
return False
return hasattr(obj, '__getitem__')
@@ -395,4 +395,4 @@ def copy(self):
not_flags = args.not_flags
files = args.files
not_files = args.not_files
-copy = args.copy
+copy = args.copy

0 comments on commit 21e1b24

Please sign in to comment.