Project

General

Profile

« Previous | Next » 

Revision 6622

dict2redmine: url_term(): Fixed bug where need to use match.group() instead of match.groups()

View differences:

bin/dict2redmine
19 19
def url_term(url):
20 20
    match = re.search(r'[\w-]+$', url)
21 21
    assert match
22
    return match.groups(0)
22
    return match.group(0)
23 23

  
24 24
##### Redmine
25 25

  

Also available in: Unified diff