[Checkins] SVN: martian/trunk/src/martian/ Use absolute imports

Philipp von Weitershausen philikon at philikon.de
Sat Jun 7 05:46:09 EDT 2008


Log message for revision 87223:
  Use absolute imports
  

Changed:
  U   martian/trunk/src/martian/__init__.py
  U   martian/trunk/src/martian/components.py
  U   martian/trunk/src/martian/core.py

-=-
Modified: martian/trunk/src/martian/__init__.py
===================================================================
--- martian/trunk/src/martian/__init__.py	2008-06-07 03:14:50 UTC (rev 87222)
+++ martian/trunk/src/martian/__init__.py	2008-06-07 09:46:06 UTC (rev 87223)
@@ -9,4 +9,4 @@
 from martian.directive import CLASS, CLASS_OR_MODULE, MODULE
 from martian.directive import (
     validateText, validateInterface, validateClass, validateInterfaceOrClass)
-from martiandirective import component, directive, priority, baseclass
+from martian.martiandirective import component, directive, priority, baseclass

Modified: martian/trunk/src/martian/components.py
===================================================================
--- martian/trunk/src/martian/components.py	2008-06-07 03:14:50 UTC (rev 87222)
+++ martian/trunk/src/martian/components.py	2008-06-07 09:46:06 UTC (rev 87223)
@@ -17,7 +17,7 @@
 from martian import util
 from martian.error import GrokError
 from martian.interfaces import IGrokker, IComponentGrokker
-from martiandirective import directive, component
+from martian.martiandirective import directive, component
 
 class GrokkerBase(object):
     implements(IGrokker)

Modified: martian/trunk/src/martian/core.py
===================================================================
--- martian/trunk/src/martian/core.py	2008-06-07 03:14:50 UTC (rev 87222)
+++ martian/trunk/src/martian/core.py	2008-06-07 09:46:06 UTC (rev 87223)
@@ -7,9 +7,8 @@
 from martian.components import (GrokkerBase, ClassGrokker, InstanceGrokker,
                                 GlobalGrokker)
 from martian.error import GrokError
+from martian.martiandirective import component, priority
 
-from martiandirective import component, priority
-
 class MultiGrokkerBase(GrokkerBase):
     implements(IMultiGrokker)
 



More information about the Checkins mailing list