[Rapier-commits] r150 - trunk/src

rapier-commits at garage.maemo.org rapier-commits at garage.maemo.org
Fri Aug 17 11:35:12 EEST 2007


Author: pamadio
Date: 2007-08-17 11:35:12 +0300 (Fri, 17 Aug 2007)
New Revision: 150

Modified:
   trunk/src/swordutils.py
Log:
more generic 'no such directory' bug fix

Modified: trunk/src/swordutils.py
===================================================================
--- trunk/src/swordutils.py	2007-08-16 19:20:31 UTC (rev 149)
+++ trunk/src/swordutils.py	2007-08-17 08:35:12 UTC (rev 150)
@@ -207,8 +207,8 @@
         #print "dst_conf='%s'"%dst_conf
         #print "dst_module='%s'"%dst_module
 
-        if not os.path.isdir(self.mgr.prefixPath+"/modules/texts/ztext"):
-            os.makedirs(self.mgr.prefixPath+"/modules/texts/ztext")
+        if not os.path.isdir(dst_module):
+            os.makedirs(dst_module)
 
             
         if os.path.isdir(tmp_mod):



More information about the Rapier-commits mailing list