From: Sebastian Spaeth Date: Thu, 25 Jun 2015 10:38:58 +0000 (+0200) Subject: Fix print statements to be python3 compatible. Refs #5331 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9051f99391cff02829be83e3ad0a004274cc3a4c;p=mediagoblin.git Fix print statements to be python3 compatible. Refs #5331 --- diff --git a/mediagoblin/media_types/video/transcoders.py b/mediagoblin/media_types/video/transcoders.py index 6e0b702b..f3744fb0 100644 --- a/mediagoblin/media_types/video/transcoders.py +++ b/mediagoblin/media_types/video/transcoders.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -from __future__ import division +from __future__ import divisioin, print_function import os import sys @@ -433,4 +433,4 @@ if __name__ == '__main__': print('I\'m a callback!') transcoder.transcode(*args, progress_callback=cb) elif options.action == 'discover': - print transcoder.discover(*args) + print(transcoder.discover(*args))