summaryrefslogtreecommitdiffstats
path: root/openbsc/contrib
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-08-14 00:14:36 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-08-14 00:14:36 +0200
commitdf49a983e2523b94bb62fec3076259355fe0b52b (patch)
tree76cd2f7a316c3eab546db8818627b7c6f6d883e4 /openbsc/contrib
parentb7b6cf5695e062a9bb4f00903ca1984bb73f2f34 (diff)
docs: Do not remove too much from of the dumped online help
Use the len of the end and not the filename.
Diffstat (limited to 'openbsc/contrib')
-rwxr-xr-xopenbsc/contrib/dump_all_docs.py2
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()