diff options
author | Radostin Stoyanov <rstoyanov1@gmail.com> | 2018-03-02 08:01:23 +0000 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2018-03-03 16:04:12 -0500 |
commit | 1ae5c4ff75907759497cb98cc273c76e74b9bd19 (patch) | |
tree | a8a455b14bb7221fabde71c0d581b6234fd135b2 /virtManager/clone.py | |
parent | 474f60fc56185af4d849c16241e37b78ca44d5e6 (diff) | |
download | virt-manager-1ae5c4ff75907759497cb98cc273c76e74b9bd19.tar.gz |
pylint: Resolve logging-not-lazy
A new Python checker was added to warn about using a + operator inside
call of logging methods when one of the operands is a literal string.
https://pylint.readthedocs.io/en/latest/whatsnew/1.8.html
Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
Diffstat (limited to 'virtManager/clone.py')
-rw-r--r-- | virtManager/clone.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virtManager/clone.py b/virtManager/clone.py index 02a860d0..df7ac4f8 100644 --- a/virtManager/clone.py +++ b/virtManager/clone.py @@ -470,7 +470,7 @@ class vmmCloneVM(vmmGObjectUI): newpath = self.generate_clone_path_name(origpath, newname) row[STORAGE_INFO_NEW_PATH] = newpath except Exception as e: - logging.debug("Generating new path from clone name failed: " + + logging.debug("Generating new path from clone name failed: %s", str(e)) def build_storage_entry(self, disk, storage_box): |