mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-27 02:16:12 +01:00
d3648be24b
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) |
||
---|---|---|
.. | ||
__init__.py | ||
ar.py | ||
archquery.py | ||
cpio.py | ||
debquery.py | ||
packagequery.py | ||
repodata.py | ||
rpmquery.py | ||
safewriter.py |