2139
2139
# Use the properties handlers to print out bug information if available
2140
2140
def _bugs_properties_handler(revision):
2141
2142
if 'bugs' in revision.properties:
2142
2143
bug_lines = revision.properties['bugs'].split('\n')
2143
2144
bug_rows = [line.split(' ', 1) for line in bug_lines]
2144
2145
fixed_bug_urls = [row[0] for row in bug_rows if
2145
2146
len(row) > 1 and row[1] == 'fixed']
2152
2157
properties_handler_registry.register('bugs_properties_handler',
2153
2158
_bugs_properties_handler)