Merge "RemoteFS: Fix messy string formatting"

This commit is contained in:
Zuul 2023-03-20 20:54:57 +00:00 committed by Gerrit Code Review
commit 45fd889c78
1 changed files with 2 additions and 2 deletions

View File

@ -887,8 +887,8 @@ class RemoteFSSnapDriverBase(RemoteFSDriver):
})
else:
backing_file_template = \
"(%(basedir)s/[0-9a-f]+/)?%" \
"(volname)s(.(tmp-snap-)?[0-9a-f-]+)?%(valid_ext)s$" % {
"(%(basedir)s/[0-9a-f]+/)?" \
"%(volname)s(.(tmp-snap-)?[0-9a-f-]+)?%(valid_ext)s$" % {
'basedir': basedir,
'volname': volume_name,
'valid_ext': valid_ext,