diff options
author | Muthu Subramanian K <sumuthu@novell.com> | 2010-11-09 22:01:51 +0530 |
---|---|---|
committer | Muthu Subramanian K <sumuthu@novell.com> | 2010-11-09 22:01:51 +0530 |
commit | b6bef35291ee407841936a59097120074f37c489 (patch) | |
tree | 887774175ac1e9b80d3679f716b760cc1f855a3e /helpcontent2/to-wiki/convall.py | |
parent | d0e87681896f0d545aca44541e734a3a4a604622 (diff) |
HID mappings to sections.
Diffstat (limited to 'helpcontent2/to-wiki/convall.py')
-rwxr-xr-x | helpcontent2/to-wiki/convall.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/helpcontent2/to-wiki/convall.py b/helpcontent2/to-wiki/convall.py index f1daefb72c..afc510e3dc 100755 --- a/helpcontent2/to-wiki/convall.py +++ b/helpcontent2/to-wiki/convall.py @@ -17,12 +17,10 @@ for title in titles: command = "" outfile = "" infile = "" - try: + if len(title) > 1: outfile = "wiki/"+title[1].strip() infile = title[0].strip() - command = "python to-wiki/wikiconv2.py "+infile+" > "+outfile - except: - continue + command = "python to-wiki/wikiconv2.py "+infile+" "+title[1].strip()+" > "+outfile try: file = open(outfile,"r") |