From a2961748b5773cab010a6352710460a26b4a2cbe Mon Sep 17 00:00:00 2001 From: Rob Golding Date: Thu, 15 Jan 2015 13:41:43 +0000 Subject: [PATCH 1/1] Use six.string_types over basestring for Python 3 compatibility --- tasklib/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasklib/task.py b/tasklib/task.py index 8513b14..9d6d47f 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -93,7 +93,7 @@ class SerializingObject(object): return ','.join(tags) if tags else '' def deserialize_tags(self, tags): - if isinstance(tags, basestring): + if isinstance(tags, six.string_types): return tags.split(',') if tags else [] return tags or [] -- 2.39.5