pep8 fixes, modernizations
autopep8 -a -r -i --select E711,E712,W601,W602,W603,W604,W690,E304,E401,E502 . Also includes some manual reindentations (many are left after the print() changes). Manually checked, some modernizations not commited here.
This commit is contained in:
parent
e2ac8687c6
commit
6161a0aacd
18 changed files with 57 additions and 51 deletions
|
|
@ -30,7 +30,9 @@ from weboob.core import Weboob
|
|||
from weboob.capabilities.video import CapVideo
|
||||
|
||||
# hack to workaround bash redirection and encoding problem
|
||||
import sys, codecs, locale
|
||||
import sys
|
||||
import codecs
|
||||
import locale
|
||||
|
||||
if sys.stdout.encoding is None:
|
||||
(lang, enc) = locale.getdefaultlocale()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue