1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-01-30 17:38:59 +01:00
Files
github.com_openSUSE_osc/osc/util/helper.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

1.6 KiB