[gedit-plugins/wip/python3] No more basestring



commit 75ec1b1edc410ddebe3a7475582c4fc50e7fd46e
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Nov 6 19:00:58 2012 +0100

    No more basestring

 plugins/commander/commander/commands/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/commander/commander/commands/__init__.py b/plugins/commander/commander/commands/__init__.py
index 9b9c561..a938b3b 100644
--- a/plugins/commander/commander/commands/__init__.py
+++ b/plugins/commander/commander/commands/__init__.py
@@ -393,7 +393,7 @@ class Commands(Singleton):
             del commander.modules.__dict__[mod.name]
 
     def reload_module(self, mod):
-        if isinstance(mod, basestring):
+        if isinstance(mod, str):
             mod = self.resolve_module(mod)
 
         if not mod or not self._modules:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]