[gedit-plugins/wip/python3] No more basestring
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins/wip/python3] No more basestring
- Date: Tue, 6 Nov 2012 18:01:13 +0000 (UTC)
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]