Commit e71e6cb [backend] py3 compat for msgbus support

1 file Authored and Committed by praiskup 4 days ago
[backend] py3 compat for msgbus support

This is last iteritems() occurrence in copr code.

    
1 @@ -29,7 +29,7 @@
2       @classmethod
3       def string(cls, number):
4           """ convert number to string """
5 -         for key, val in cls.__dict__.iteritems():
6 +         for key, val in cls.__dict__.items():
7               if isinstance(val, int) and number == val:
8                   return key
9           raise AttributeError("no such status id: {0} ".format(number))