commit | df49a983e2523b94bb62fec3076259355fe0b52b | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Aug 14 00:14:36 2012 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Tue Aug 14 00:14:36 2012 +0200 |
tree | 76cd2f7a316c3eab546db8818627b7c6f6d883e4 | |
parent | b7b6cf5695e062a9bb4f00903ca1984bb73f2f34 [diff] [blame] |
docs: Do not remove too much from of the dumped online help Use the len of the end and not the filename.
diff --git a/openbsc/contrib/dump_all_docs.py b/openbsc/contrib/dump_all_docs.py index 314f60b..2903f80 100755 --- a/openbsc/contrib/dump_all_docs.py +++ b/openbsc/contrib/dump_all_docs.py
@@ -26,7 +26,7 @@ # Now write everything until the end to the file out = open(filename, 'w') - out.write(xml[18:len(filename)*-1]) + out.write(xml[18:len(end)*-1]) out.close()