[Erp5-report] r26212 - /erp5/trunk/utils/oood/start.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 31 16:21:08 CEST 2009


Author: bartek
Date: Tue Mar 31 16:21:04 2009
New Revision: 26212

URL: http://svn.erp5.org?rev=26212&view=rev
Log:
bugfix - failed when started from current directory

Modified:
    erp5/trunk/utils/oood/start.py

Modified: erp5/trunk/utils/oood/start.py
URL: http://svn.erp5.org/erp5/trunk/utils/oood/start.py?rev=26212&r1=26211&r2=26212&view=diff
==============================================================================
--- erp5/trunk/utils/oood/start.py [utf8] (original)
+++ erp5/trunk/utils/oood/start.py [utf8] Tue Mar 31 16:21:04 2009
@@ -90,7 +90,7 @@
   except OSError:
     pass
   open('%s/Common.xcu' % common_xcu_dir, 'w').write(
-    open('%s/Common.xcu' % os.path.dirname(__file__)).read())
+    open(os.path.join(os.path.dirname(__file__), 'Common.xcu')).read())
 
   # "'-display :%d' % config.virtual_display_id" argument is not working, that's why we use
   # environnment variable. See "man xhost" for more details.




More information about the Erp5-report mailing list