Docs: Fix the module formatter code that is intended to remove the 'historical' variable from showing up in version_added information (RST)

This commit is contained in:
Michael DeHaan 2013-11-27 21:14:38 -05:00
parent 52b2cfedfc
commit 51e6f411f2

View file

@ -366,8 +366,8 @@ def main():
if not 'version_added' in doc:
sys.stderr.write("*** ERROR: missing version_added in: %s ***\n" % module)
sys.exit(1)
if doc['version_added'] == 'historical':
del doc['version_added']
if doc['version_added'] == 'historical':
del doc['version_added']
for (k,v) in doc['options'].iteritems():
all_keys.append(k)