Skip to content

Commit

Permalink
Revert "removed reference to basestring"
Browse files Browse the repository at this point in the history
This reverts commit 5cb5d6b.
  • Loading branch information
willhaines committed Sep 16, 2015
1 parent 5cb5d6b commit f4db9b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skrf/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def get_fid(file, *args, **kwargs):
\*args, \*\*kwargs : arguments and keyword arguments
passed through to pickle.load
'''
if isinstance(file, (str, unicode)):
if isinstance(file, basestring):
return open(file, *args, **kwargs)
else:
return file
Expand Down

0 comments on commit f4db9b8

Please sign in to comment.