summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/partparse.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/tools/partparse.py b/Doc/tools/partparse.py
index 73ca346..81d559d 100644
--- a/Doc/tools/partparse.py
+++ b/Doc/tools/partparse.py
@@ -1156,10 +1156,10 @@ def do_datadesc(length, buf, pp, i):
command = 'defcv'
cat_class = 'data'
class_class = string.join(idxsi[2:])
-
- if not command:
- return length, i
- #raise error, 'don\'t know what to do with indexsubitem ' + `idxsi` *)
+ else:
+ command = 'defcv'
+ cat_class = 'data'
+ class_class = string.join(idxsi)
ch.chtype = chunk_type[CSLINE]
ch.data = command