Remove trailing comma

Fixes: https://launchpad.net/bugs/748960
This commit is contained in:
Tim Bentley 2011-04-10 07:27:23 +01:00
parent 29ef34b569
commit c55df2583a

View File

@ -96,4 +96,7 @@ class VerseReferenceList(object):
version[u'copyright'])
if version[u'permission'].strip():
result = result + u', ' + version[u'permission']
result = result.rstrip()
if result.endswith(u','):
return result[:len(result)-1]
return result