]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/workunits/mon/test_mon_config_key.py
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / qa / workunits / mon / test_mon_config_key.py
index 285d1f4cea6ad28ce8e534a3f97907aeecf44faa..bcc1a79dd35198fab91885ec83c5cec1a527ce5c 100755 (executable)
@@ -444,7 +444,8 @@ def main():
                 read_data = json.load(temp_file)
             except ValueError:
                 temp_file.seek(0)
-                assert False, "{op} output was not valid JSON:\n{filedata}".format(op, temp_file.readlines())
+                assert False, "{op} output was not valid JSON:\n{filedata}".format(
+                    op=op, filedata=temp_file.readlines())
 
             if sop == 'existing':
                 assert key in read_data, "key '{k}' not found in list/dump output".format(k=key)