Merge "Fix PEP8 issues."

This commit is contained in:
Jenkins
2012-08-30 17:02:44 +00:00
committed by Gerrit Code Review

View File

@@ -73,8 +73,10 @@ def process_todo_nodes(app, doctree, fromdocname):
priority = 5
if m:
priority = int(m.group(1))
if (priority < 0): priority = 1
if (priority > 5): priority = 5
if priority < 0:
priority = 1
if priority > 5:
priority = 5
item['classes'].append('todo_p' + str(priority))
todo_entry['classes'].append('todo_p' + str(priority))