• Jérome Perrin's avatar
    grid/utils: minor cleanups · 7dbf0ba4
    Jérome Perrin authored
     - Use dict.items() to iterate on dict, instead of dict.keys() then dict[key]
     - don't use six.iterkeys(), this dict is small, so we don't need iterkeys()
       on python2 and can already write python3 version
     - don't % string when invoking logger, logging framework do it for us and do
       it only if message will be logged.
    7dbf0ba4
utils.py 13.3 KB