mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-22 09:39:58 -05:00
Merge pull request #74 from pgbidkar/master
dict.itervalues is deprecated in Python3. Fixing sample
This commit is contained in:
commit
8957cfad5e
@ -56,7 +56,7 @@ class BackupJobList(object):
|
|||||||
job_list = details_client.list()
|
job_list = details_client.list()
|
||||||
|
|
||||||
table = []
|
table = []
|
||||||
for info in job_list.itervalues():
|
for info in job_list.values():
|
||||||
row = [info.start_time.strftime("%b %d %Y %H:%M"),
|
row = [info.start_time.strftime("%b %d %Y %H:%M"),
|
||||||
info.duration,
|
info.duration,
|
||||||
info.type,
|
info.type,
|
||||||
|
Loading…
Reference in New Issue
Block a user