Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
  • Loading branch information
zyga committed Jul 16, 2014
1 parent 3443061 commit da41bb6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sphinxarg/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def print_subcommand_list(data, nested_content):
for child in data['children']:
my_def = [nodes.paragraph(text=child['help'])] if child['help'] else []
name = child['name']
nested_def = definitions[name] if name in definitions else []
my_def = apply_definition(definitions, my_def, name)
if len(my_def) == 0:
my_def.append(nodes.paragraph(text='Undocumented'))
Expand Down

0 comments on commit da41bb6

Please sign in to comment.