Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit c77f81e

Browse files
hkielOpenModelica-Hudson
authored andcommitted
small fix for GenerateDoc.mos
Belonging to [master]: - #2757
1 parent d129e47 commit c77f81e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Examples/GenerateDoc.mos

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ system("rm -f tidy.links tidy.out tidy.err tidy.filtered");
457457

458458
"Copying original HTML files to 'old-html-tmp'";
459459
writeFile("copyold.py","#!/usr/bin/env python
460+
import os
460461
import shutil
461462
oldtmp = 'old-html-tmp'
462463
if not os.path.exists(oldtmp):
@@ -507,7 +508,7 @@ def makeCaseSensitive():
507508
if os.path.isfile(nfile):
508509
raise Exception('File already exists: ' + nfile)
509510
for f in getFiles():
510-
call(['sed','-i','s/%s/%s/g' % (file,nfile)] + f)
511+
call(['sed','-i','s/%s/%s/g' % (file,nfile), f])
511512
os.rename(file,nfile)
512513
return False
513514
visited[upper] = file

0 commit comments

Comments
 (0)