/[navidoc]/navidoc/rst2any.py
ViewVC logotype

Diff of /navidoc/rst2any.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by humppake, Wed Mar 26 15:36:17 2003 UTC revision 1.14 by humppake, Thu Mar 27 09:33:48 2003 UTC
# Line 71  def rst2any(input): Line 71  def rst2any(input):
71      """      """
72      Runs docutils for a single file.      Runs docutils for a single file.
73      """      """
74      last_dot = input.rfind('.')      last_dot = input.replace("../", "__/").rfind('.')
75      if last_dot != -1: output = input[:last_dot]      if last_dot != -1: output = input[:last_dot]
76      else: output = input      else: output = input
77    

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26