pybank r67 - in trunk: bank overrides
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: pybank r67 - in trunk: bank overrides
- Date: Thu, 21 Aug 2008 08:13:33 +0000 (UTC)
Author: johan
Date: Thu Aug 21 08:13:33 2008
New Revision: 67
URL: http://svn.gnome.org/viewvc/pybank?rev=67&view=rev
Log:
Don't require overrides, remove capitalize stupidity and all stub overrides
Removed:
trunk/overrides/Atk.py
trunk/overrides/GLib.py
trunk/overrides/GObject.py
trunk/overrides/Gdk.py
trunk/overrides/Pango.py
trunk/overrides/Poppler.py
Modified:
trunk/bank/importer.py
trunk/overrides/WebKit.py
Modified: trunk/bank/importer.py
==============================================================================
--- trunk/bank/importer.py (original)
+++ trunk/bank/importer.py Thu Aug 21 08:13:33 2008
@@ -39,10 +39,9 @@
try:
d = {}
module = __import__(module_name, d, d, ' ', 2)
- modtype = getattr(module, name.capitalize() + 'Module')
+ modtype = getattr(module, name + 'Module')
except ImportError, e:
modtype = DynamicModule
- raise
return modtype(name, self.path)
Modified: trunk/overrides/WebKit.py
==============================================================================
--- trunk/overrides/WebKit.py (original)
+++ trunk/overrides/WebKit.py Thu Aug 21 08:13:33 2008
@@ -1,8 +1,6 @@
-import sys
-
from bank.module import DynamicModule
-class WebkitModule(DynamicModule):
+class WebKitModule(DynamicModule):
def created(self):
self.webkit_init()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]