diff options
author | Cole Robinson <crobinso@redhat.com> | 2014-01-25 15:52:34 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2014-01-25 15:52:34 -0500 |
commit | ffa9bb77b3a97bf03586514f6ebc5214401a15cf (patch) | |
tree | 627fb447ec9753d993d5557844405dcb6c084b46 | |
parent | 4660b5d32e815c2eca6c61117c8b8ba60c2e164f (diff) | |
download | virt-manager-ffa9bb77b3a97bf03586514f6ebc5214401a15cf.tar.gz |
Fix some pylint
-rw-r--r-- | virtManager/fsdetails.py | 2 | ||||
-rw-r--r-- | virtinst/storage.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/virtManager/fsdetails.py b/virtManager/fsdetails.py index 5f4fc108..2c0f3b95 100644 --- a/virtManager/fsdetails.py +++ b/virtManager/fsdetails.py @@ -123,7 +123,7 @@ class vmmFSDetails(vmmGObjectUI): VirtualFilesystem.DRIVER_DEFAULT]) else: simple_store_set("fs-driver-combo", [VirtualFilesystem.DRIVER_DEFAULT]) - simple_store_set("fs-format-combo", StorageVolume.ALL_FORMATS, capitalize = False), + simple_store_set("fs-format-combo", StorageVolume.ALL_FORMATS, capitalize=False) simple_store_set("fs-wrpolicy-combo", VirtualFilesystem.WRPOLICIES) self.show_pair_combo("fs-type", self.conn.is_openvz() or self.conn.is_lxc()) self.show_check_button("fs-readonly", diff --git a/virtinst/storage.py b/virtinst/storage.py index 8464c431..fc4cd244 100644 --- a/virtinst/storage.py +++ b/virtinst/storage.py @@ -460,7 +460,6 @@ class StorageVolume(_StorageObject): """ Base class for building and installing libvirt storage volume xml """ - ALL_FORMATS = ["raw", "bochs", "cloop", "cow", "dmg", "iso", "qcow", "qcow2", "qed", "vmdk", "vpc", "fat", "vhd", "vdi"] @@ -612,7 +611,7 @@ class StorageVolume(_StorageObject): def list_formats(self): if self.file_type == self.TYPE_FILE: - return ALL_FORMATS + return self.ALL_FORMATS return [] def list_create_formats(self): |