summaryrefslogtreecommitdiff
path: root/helpcontent2/to-wiki/convall.py
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2010-11-05 15:23:44 +0100
committerJan Holesovsky <kendy@suse.cz>2010-11-05 15:23:44 +0100
commit31c7e54ff143053c8cdc791a0e9328841a70d194 (patch)
tree6d749aa89a5f68fb5676212bb8172c6ec7ce9d8b /helpcontent2/to-wiki/convall.py
parent46765b21fdd0bfb1fb1edb0ce8b61585ac1d6f0a (diff)
Do not write heading starts with every char_data.
Diffstat (limited to 'helpcontent2/to-wiki/convall.py')
-rwxr-xr-xhelpcontent2/to-wiki/convall.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/helpcontent2/to-wiki/convall.py b/helpcontent2/to-wiki/convall.py
index cc02822e0d..25e01ea63f 100755
--- a/helpcontent2/to-wiki/convall.py
+++ b/helpcontent2/to-wiki/convall.py
@@ -27,11 +27,10 @@ for title in titles:
try:
file = open(outfile,"r")
except:
- print "Processing: "+infile
- if not os.system(command):
- # print "Failed: "+command
- # sys.exit(1)
- pass
+ #print "Processing: "+infile
+ if os.system(command) != 0:
+ print "Failed: "+command
+ sys.exit(1)
continue
print "Warning: Skipping: "+command
file.close()