diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-08-14 00:14:36 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-08-14 00:14:36 +0200 |
commit | df49a983e2523b94bb62fec3076259355fe0b52b (patch) | |
tree | 76cd2f7a316c3eab546db8818627b7c6f6d883e4 | |
parent | b7b6cf5695e062a9bb4f00903ca1984bb73f2f34 (diff) |
docs: Do not remove too much from of the dumped online help
Use the len of the end and not the filename.
-rwxr-xr-x | openbsc/contrib/dump_all_docs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/contrib/dump_all_docs.py b/openbsc/contrib/dump_all_docs.py index 314f60bab..2903f80ba 100755 --- a/openbsc/contrib/dump_all_docs.py +++ b/openbsc/contrib/dump_all_docs.py @@ -26,7 +26,7 @@ def dump_doc(end, port, filename): # 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() |