summaryrefslogtreecommitdiff
path: root/methods.py
diff options
context:
space:
mode:
Diffstat (limited to 'methods.py')
-rw-r--r--methods.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/methods.py b/methods.py
index d72cd4afe9..e9450d95e2 100644
--- a/methods.py
+++ b/methods.py
@@ -6,12 +6,12 @@ import glob
import string
import datetime
import subprocess
-from compat import iteritems
+from compat import iteritems, isbasestring
def add_source_files(self, sources, filetype, lib_env=None, shared=False):
- if isinstance(filetype, basestring):
+ if isbasestring(filetype):
dir_path = self.Dir('.').abspath
filetype = glob.glob(dir_path + "/" + filetype)