File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,10 @@ def __init__(self):
132
132
_ ("Have 'display designator' and 'specification class' show\n "
133
133
" protected fields: creator, id etc.\n " ),
134
134
135
+ 'history_length' :
136
+ _ ("Set the number of lines of history to keep for this session.\n "
137
+ " -1 is infinite.\n " ),
138
+
135
139
'indexer_backend' :
136
140
_ ("Set indexer to use when running 'reindex' NYI\n " ),
137
141
@@ -1508,7 +1512,11 @@ def do_pragma(self, args):
1508
1512
continue
1509
1513
print (" %s=%s" % (key , self .settings [key ]))
1510
1514
if is_verbose :
1511
- print (" %s" % self .settings_help [key ])
1515
+ try :
1516
+ print (" %s" % self .settings_help [key ])
1517
+ except KeyError :
1518
+ print (_ (" Help for this pragma is missing. "
1519
+ "Please report it to the Roundup project.\n " ))
1512
1520
1513
1521
return
1514
1522
You can’t perform that action at this time.
0 commit comments