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

View File

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