Satish Balay avatar Satish Balay committed a1daf7b

*** empty log message ***

Comments (0)

Files changed (1)

maint/helpindex.py

 #! /usr/bin/env python1.5
 #!/bin/env python1.5
-# $Id: helpindex.py,v 1.7 2000/09/26 20:44:24 gropp Exp balay $ 
+# $Id: helpindex.py,v 1.8 2000/09/27 16:58:43 balay Exp balay $ 
 # 
 # reads in docs/tex/exampleconcepts,manconcepts, and create
 # the file help.html
                   concept_filename = replace(lower(prim_key)," ","_")
                   concept_filename = "concepts/" + concept_filename + ".htm"
                   
-                  if os.access(concept_filename,os.F_OK):
-                      fd.write("<A HREF=\"")
+                  #if os.access(concept_filename,os.F_OK):
+                  fd_tmp = os.popen('ls '+ concept_filename)
+                  buf = fd.read()
+                  if not buf == '':
+                       fd.write("<A HREF=\"")
                       fd.write(concept_filename)
                       fd.write("\">")
                       fd.write(prim_key)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.