]> granicus.if.org Git - python/commitdiff
Update the module index support to use the changed field separator for the
authorFred Drake <fdrake@acm.org>
Sat, 11 Apr 1998 05:21:14 +0000 (05:21 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 11 Apr 1998 05:21:14 +0000 (05:21 +0000)
input file to buildindex.py.

Doc/perl/l2hinit.perl

index 272a328556d4f91f56b341d296bdf0b886a079bc..a73c227bf6eafb15a3894867a93c0e934c83895d 100644 (file)
@@ -73,7 +73,7 @@ sub top_navigation_panel {
 }
 
 sub bot_navigation_panel {
-    "<div class=navigation><hr>"
+    "<p>\n<div class=navigation><hr>"
       . &make_nav_panel
       . "</div>"
 }
@@ -115,7 +115,7 @@ sub add_module_idx{
     open(MODIDXFILE, ">modindex.dat") || die "\n$!\n";
     foreach $key (keys %Modules) {
        # dump the line in the data file; just use a dummy seqno field
-       print MODIDXFILE "$Modules{$key}\0$key###\n";
+       print MODIDXFILE "$Modules{$key}" . $IDXFILE_FIELD_SEP . "$key###\n";
     }
     close(MODIDXFILE);
     $index = `$myrootdir/tools/buildindex.py modindex.dat`;