Skip to content
This repository has been archived by the owner on Apr 24, 2018. It is now read-only.

Commit

Permalink
Use str instead of basestring
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoudhossam committed May 8, 2012
1 parent 212dee4 commit d0f8b49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions args.py
Expand Up @@ -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__')
Expand Down Expand Up @@ -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 d0f8b49

Please sign in to comment.