/[gzz]/gzz/metacode/umlrst.py
ViewVC logotype

Diff of /gzz/metacode/umlrst.py

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

revision 1.20 by Vegai, Mon Feb 3 10:05:39 2003 UTC revision 1.21 by Vegai, Mon Feb 3 10:15:31 2003 UTC
# Line 185  def embed_diagrams(path): Line 185  def embed_diagrams(path):
185  def embed_implicit(oldpath, name, path):  def embed_implicit(oldpath, name, path):
186      """Terrible kludge to embed named diagram into path document      """Terrible kludge to embed named diagram into path document
187         with correct imagemap."""         with correct imagemap."""
     #global settings  
188      #correcting relative paths      #correcting relative paths
189      path = path.replace(settings['to_javadoc'],      path = path.replace(settings['to_javadoc'],
190                   settings['javadoc'])                   settings['javadoc'])
# Line 195  def embed_implicit(oldpath, name, path): Line 194  def embed_implicit(oldpath, name, path):
194          if slash != -1:          if slash != -1:
195              path = (oldpath[0:slash+1] + path).replace("//", "/")              path = (oldpath[0:slash+1] + path).replace("//", "/")
196    
197      #umltool_backup = settings.copy()      settings2 = settings.resist()
     settings2 =  settings.copy()  
198    
199      umltool.set_transition_paths(path)      umltool.set_transition_paths(path)
200      slash = oldpath.rfind("/")      slash = oldpath.rfind("/")
# Line 260  def embed_implicit(oldpath, name, path): Line 258  def embed_implicit(oldpath, name, path):
258              html = html[insert+5:len(html)]              html = html[insert+5:len(html)]
259              out.write(html)              out.write(html)
260              out.close()              out.close()
           
     #umltool.settings = umltool_backup  
     #settings = mputils_backup  

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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