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,4 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import print_function
|
||||
import sys
|
||||
from . import constants
|
||||
|
||||
|
|
@ -52,7 +53,7 @@ class DisplayCollectionMenuAction(VideoobBaseAction):
|
|||
common_xbmc.end_of_directory(False)
|
||||
|
||||
def add_videos(self, _video, backend):
|
||||
print _video
|
||||
print(_video)
|
||||
video = self.videoobmc.get_video(_video, backend)
|
||||
if video:
|
||||
MenuItemVideo(video).add_to_menu()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue