Project

General

Profile

« Previous | Next » 

Revision 6623

dict2redmine: source2redmine_url(): Support empty URLs

View differences:

dict2redmine
28 28
    else: return text
29 29

  
30 30
def source2redmine_url(url):
31
    return redmine_url(url_term(url), simplify_url(url))
31
    if url: return redmine_url(url_term(url), simplify_url(url))
32
    else: return ''
32 33

  
33 34
class RedmineTableWriter:
34 35
    '''Formats rows as a Redmine table'''

Also available in: Unified diff