1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-02-02 10:59:00 +01:00
Files
github.com_openSUSE_osc/osc/util/debquery.py
lethliel df755b9595 switched to central decode function
* util/helper.py
  - new decode_it function. Takes obj and checks if
    it is not a str. The it tries to guess the encoding
    based on the module chardet

* all other modules:
  - switched from var.decode('utf-8') to decode_it(var) if
    possible
2018-11-05 14:47:32 +01:00

7.9 KiB