1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-03-10 18:03:37 +01:00
Michal Vyskocil d3648be24b python3 compatibility: dict
this patch
 1.) removes the iteritems/itervalues, which were dropped in py3
     items/values are used instead
 2.) add an extra list() in a cases the list-based access is needed
     (included appending, indexing and so)
 3.) changes a sorting idiom in few places
     instead of
     foo = dict.keys()
     foo.sort()
     for i in foo:

     there is a recommended

     for i in sorted(dict.keys()):
 4.) in one occassion it removes a if dict.has_key() by simpler
   dict.get(key, default)
2013-04-16 10:51:17 +02:00
..
2013-04-16 10:51:17 +02:00
2009-12-03 19:19:53 +01:00
2013-04-16 10:51:17 +02:00
2013-04-16 10:51:17 +02:00
2013-04-16 10:51:17 +02:00
2013-03-20 15:43:06 +01:00
2013-04-16 10:51:17 +02:00
2013-04-16 10:51:17 +02:00
2012-07-15 23:20:19 -04:00