Skip to content

Commit 099a92d

Browse files
committed
Removed unused objects
Signed-off-by: aspurohit <[email protected]>
1 parent 21f8abe commit 099a92d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

samples/vsphere/appliances/health_messages.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@
1717
__vcenter_version__ = '6.7+'
1818

1919
from datetime import datetime, date
20-
21-
from samples.vsphere.common import sample_cli
22-
from samples.vsphere.common import sample_util
23-
from samples.vsphere.common import vapiconnect
20+
from samples.vsphere.common import (sample_cli, sample_util, vapiconnect)
2421
from com.vmware.appliance_client import Health
2522
from com.vmware.vapi.std_client import LocalizableMessage
2623
from com.vmware.appliance_client import Notification
@@ -64,8 +61,6 @@ def setup(self):
6461

6562
def run(self):
6663
message_list = self.health_client.messages(self.item)
67-
message = Notification()
68-
msg = LocalizableMessage()
6964
print(" Health Alarams")
7065
print("-------------------\n")
7166
if not message_list:

0 commit comments

Comments
 (0)