Skip to content

Commit

Permalink
Merge pull request avocado-framework-tests#1497 from shirishaganta/fi…
Browse files Browse the repository at this point in the history
…x_sosreport

sosreport.py:AttributeError: 'dict' object has no attribute 'iteritems'
  • Loading branch information
PraveenPenguin authored Dec 11, 2019
2 parents 5823f2b + 8f8b14a commit c0b891e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ras/sosreport.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def test_archive(self):
'xz': 'file_name_xz', 'auto': 'file_name_xz2'}
archive = {'bzip2': 'tar.bz2', 'gzip': 'tar.gz',
'xz': 'tar.xz', 'auto': 'tar.xz'}
for key, value in f_name.iteritems():
for key, value in f_name.items():
file_name = str(f_name[key])
file_name = self.run_cmd_out("sosreport --batch --tmp-dir=%s -z %s | grep %s" %
(directory_name, str(key),
Expand Down

0 comments on commit c0b891e

Please sign in to comment.