[gedit-plugins/wip/python3: 2/19] No more basestring
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins/wip/python3: 2/19] No more basestring
- Date: Fri, 9 Nov 2012 22:21:36 +0000 (UTC)
commit 29ccea817fc7fcb8ea1c650fcf22771a26f13ae8
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 cfcfb6b..8e6f1b8 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]