mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-21 17:29:59 -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()
|
||||
|
||||
table = []
|
||||
for info in job_list.itervalues():
|
||||
for info in job_list.values():
|
||||
row = [info.start_time.strftime("%b %d %Y %H:%M"),
|
||||
info.duration,
|
||||
info.type,
|
||||
|
Loading…
Reference in New Issue
Block a user