Run pyupgrade to Python 3.7+
This commit is contained in:
parent
008527f115
commit
b067352a00
7 changed files with 13 additions and 16 deletions
|
@ -63,7 +63,7 @@ def get_type(uri):
|
|||
return result.group(2)
|
||||
|
||||
def get_type_uri(type, id):
|
||||
return u'%s:%s:%s' % (PREFIX, type, id)
|
||||
return f'{PREFIX}:{type}:{id}'
|
||||
|
||||
def get_artist_uri(id):
|
||||
return get_type_uri(ARTIST, id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue