Fix print statements to be python3 compatible. Refs #5331
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Thu, 25 Jun 2015 10:38:58 +0000 (12:38 +0200)
committerBerker Peksag <berker.peksag@gmail.com>
Thu, 25 Jun 2015 13:00:18 +0000 (16:00 +0300)
mediagoblin/media_types/video/transcoders.py

index 6e0b702b74fa15764b85c5689ac78b8a09cb3376..f3744fb068fe2702a252f4ab7455bea9e16d6b0f 100644 (file)
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-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))