20 lines
728 B
Diff
20 lines
728 B
Diff
|
Subject: systray: Remove redundant variable assignment
|
||
|
From: Radostin Stoyanov rstoyanov1@gmail.com Thu Oct 26 12:00:06 2017 +0100
|
||
|
Date: Fri Oct 27 10:10:08 2017 +0200:
|
||
|
Git: 73de82852405c85b568f9f6293db60ce8f6a85c6
|
||
|
|
||
|
The explicit assignment of "name" is unnecessary.
|
||
|
|
||
|
diff --git a/virtManager/systray.py b/virtManager/systray.py
|
||
|
index aa62df0a..9011038f 100644
|
||
|
--- a/virtManager/systray.py
|
||
|
+++ b/virtManager/systray.py
|
||
|
@@ -275,7 +275,6 @@ class vmmSystray(vmmGObject):
|
||
|
return
|
||
|
|
||
|
for i, name in enumerate(vm_names):
|
||
|
- name = vm_names[i]
|
||
|
connkey = vm_mappings[name]
|
||
|
if connkey in self.conn_vm_menuitems[uri]:
|
||
|
vm_item = self.conn_vm_menuitems[uri][connkey]
|