mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-26 12:12:11 +01:00
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)