mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-23 18:48:58 +00:00
consistent use of f-strings
This commit is contained in:
parent
34d97848b5
commit
63ae6cf9ea
@ -47,7 +47,7 @@ def main():
|
|||||||
|
|
||||||
if args.version:
|
if args.version:
|
||||||
tag = git_version(args.service, args.version)
|
tag = git_version(args.service, args.version)
|
||||||
dockerfile = 'v{!r}.Dockerfile'.format(args.version)
|
dockerfile = f'v{args.version}.Dockerfile'
|
||||||
else:
|
else:
|
||||||
tag = args.tag
|
tag = args.tag
|
||||||
dockerfile = 'Dockerfile'
|
dockerfile = 'Dockerfile'
|
||||||
|
Loading…
Reference in New Issue
Block a user