[Erp5-report] r20959 - /erp5/trunk/products/ERP5/Extensions/Grep.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 14 14:13:06 CEST 2008


Author: jerome
Date: Wed May 14 14:13:03 2008
New Revision: 20959

URL: http://svn.erp5.org?rev=20959&view=rev
Log:
previous fix for virtual hosting was not complete

Modified:
    erp5/trunk/products/ERP5/Extensions/Grep.py

Modified: erp5/trunk/products/ERP5/Extensions/Grep.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Extensions/Grep.py?rev=20959&r1=20958&r2=20959&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Extensions/Grep.py (original)
+++ erp5/trunk/products/ERP5/Extensions/Grep.py Wed May 14 14:13:03 2008
@@ -51,7 +51,7 @@
           (url, path, line.replace('\n', '<br/>')))
     else:
       # if we have ExternalEditor installed, add the "external edit" link
-      path_element_list = path.split('/')
+      path_element_list = url.split('/')
       external_editor_link = '%s/externalEdit_/%s' % (
          '/'.join(path_element_list[:-1]), path_element_list[-1])
       html_element_list.append(




More information about the Erp5-report mailing list