From: Daniel P. Berrangé Date: Fri, 25 Jan 2019 11:17:33 +0000 (+0000) Subject: hyperv: remove unused 'total' variable X-Git-Tag: v5.1.0-rc1~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a962af7df326e04ec9aa9b4641f4ba351b9912cd;p=thirdparty%2Flibvirt.git hyperv: remove unused 'total' variable Reviewed-by: John Ferlan Signed-off-by: Daniel P. Berrangé --- diff --git a/src/hyperv/hyperv_wmi_generator.py b/src/hyperv/hyperv_wmi_generator.py index 518a55fd6d..fc1370955f 100755 --- a/src/hyperv/hyperv_wmi_generator.py +++ b/src/hyperv/hyperv_wmi_generator.py @@ -280,7 +280,6 @@ class WmiClass: # alter each version's property list so that common members are first # and in the same order as in the common dictionary - total = len(common) for cls in self.versions: index = 0 count = len(cls.properties)