[Dev OpenGP] [19] First bug corrected: a class is not a module! (import Toto != from Toto import Toto) |
[ Thread Index |
Date Index
| More opengp.tuxfamily.org/development Archives
]
Revision: 19
Author: alband85
Date: 2009-02-08 01:10:31 +0100 (Sun, 08 Feb 2009)
Log Message:
-----------
First bug corrected: a class is not a module! (import Toto != from Toto import Toto)
Modified Paths:
--------------
trunk/src/Plugin.py
Modified: trunk/src/Plugin.py
===================================================================
--- trunk/src/Plugin.py 2009-02-08 00:05:20 UTC (rev 18)
+++ trunk/src/Plugin.py 2009-02-08 00:10:31 UTC (rev 19)
@@ -1,8 +1,8 @@
#!/usr/bin/python
# -*- coding: utf-8 -*
-import Metaclass
-import AbstractMethod
+from Metaclass import Metaclass
+from AbstractMethod import AbstractMethod
class Plugin (object):
__metaclass__ = Metaclass
@@ -14,7 +14,7 @@
# Abstract methods
mergeDescription = AbstractMethod('mergeDescription')
toString = AbstractMethod('toString')
- toXML = AbstractMethode('toXML')
+ toXML = AbstractMethod('toXML')
def getName():
pass