[Skencil-commits] r717 - skencil/branches/skencil-0.6/src/Sketch

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Sep 22 14:49:08 CEST 2010


Author: igor_n
Date: 2010-09-22 14:49:07 +0200 (Wed, 22 Sep 2010)
New Revision: 717

Modified:
   skencil/branches/skencil-0.6/src/Sketch/__init__.py
Log:
package fixes according refactoring

Modified: skencil/branches/skencil-0.6/src/Sketch/__init__.py
===================================================================
--- skencil/branches/skencil-0.6/src/Sketch/__init__.py	2010-09-22 12:44:40 UTC (rev 716)
+++ skencil/branches/skencil-0.6/src/Sketch/__init__.py	2010-09-22 12:49:07 UTC (rev 717)
@@ -19,15 +19,18 @@
 
 _pkgdir = __path__[0]
 _parentdir = os.path.join(_pkgdir, '..')
+
 SketchVersion = string.strip(open(os.path.join(_pkgdir, 'VERSION')).read())
+
 for _dir in ('Modules', 'Base'):
     __path__.insert(0, os.path.join(_pkgdir, _dir))
 
-for dir in ('Lib', 'Filter', 'Pax'):
-    dir = os.path.join(_parentdir, dir)
-    if os.path.isdir(dir):
-        sys.path.insert(1, dir)
 
+dir = os.path.join(_pkgdir, 'Modules')
+if os.path.isdir(dir):
+    sys.path.insert(1, dir)
+
+
 message_dir = os.path.join(sys.path[0], 'Resources/Messages')
 try:
     from intl import gettext, dgettext, bindtextdomain



More information about the Skencil-commits mailing list