Use the print function everywhere
python modernize.py --no-six -f libmodernize.fixes.fix_print -w With manual fixes as the import was put always on top.
This commit is contained in:
parent
d22656308a
commit
74a4ef6723
73 changed files with 499 additions and 442 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import print_function
|
||||
|
||||
from .base.weboobmc2 import Weboobmc
|
||||
from weboob.capabilities.video import BaseVideo, CapVideo
|
||||
|
|
@ -22,7 +23,7 @@ class Videoobmc(Weboobmc):
|
|||
for _backend, video in self.weboob.do(self._do_complete, self.count, fields, 'search_videos', **kwargs):
|
||||
yield video
|
||||
except Exception as e:
|
||||
print e
|
||||
print(e)
|
||||
|
||||
def get_video(self, video, _backend):
|
||||
backend = self.weboob.get_backend(_backend)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue