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

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


Log message for revision 69361:
  Fix path problem on Windows

Changed:
  U   Zope3/branches/3.3/zopeskel/bin/i18nextract.in

-=-
Modified: Zope3/branches/3.3/zopeskel/bin/i18nextract.in
===================================================================
--- Zope3/branches/3.3/zopeskel/bin/i18nextract.in	2006-08-06 00:44:00 UTC (rev 69360)
+++ Zope3/branches/3.3/zopeskel/bin/i18nextract.in	2006-08-06 20:25:30 UTC (rev 69361)
@@ -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