Skip to content

Commit

Permalink
Issue #165: Use six.iteritems for Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
gervandiepen committed May 14, 2019
1 parent 9755108 commit e802a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion casacore/tables/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ def getdesc(self, actual=True):
# as these aren't valid. (See tabledefinehypercolumn)
hcdefs = tabledesc.get('_define_hypercolumn_', {})

for c, hcdef in hcdefs.iteritems():
for c, hcdef in six.iteritems(hcdefs):
if "HCcoordnames" in hcdef and len(hcdef["HCcoordnames"]) == 0:
del hcdef["HCcoordnames"]
if "HCidnames" in hcdef and len(hcdef["HCidnames"]) == 0:
Expand Down

0 comments on commit e802a39

Please sign in to comment.