[Zope3-checkins] SVN: Zope3/trunk/zopeskel/bin/i18nextract.in Fix path problem on Windows

Florent Xicluna laxyf at yahoo.fr
Sun Aug 6 16:32:48 EDT 2006


Log message for revision 69362:
  Fix path problem on Windows

Changed:
  U   Zope3/trunk/zopeskel/bin/i18nextract.in

-=-
Modified: Zope3/trunk/zopeskel/bin/i18nextract.in
===================================================================
--- Zope3/trunk/zopeskel/bin/i18nextract.in	2006-08-06 20:25:30 UTC (rev 69361)
+++ Zope3/trunk/zopeskel/bin/i18nextract.in	2006-08-06 20:32:48 UTC (rev 69362)
@@ -123,7 +123,7 @@
 
     # When generating the comments, we will not need the base directory info,
     # since it is specific to everyone's installation
-    src_start = path.rfind('lib/python')
+    src_start = path.rfind(os.path.join('lib','python'))
     base_dir = path[:src_start]
 
     output_file = domain+'.pot'



More information about the Zope3-Checkins mailing list