浏览代码

Remove debugging code

Introduced by accident in 5d681e960db98ec2d9f3d4361bd66f581506a772
Philipp Hagemeister 11 年之前
父节点
当前提交
196938835a
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      youtube_dl/YoutubeDL.py

+ 0 - 2
youtube_dl/YoutubeDL.py

@@ -192,7 +192,6 @@ class YoutubeDL(object):
                         ['bidiv'] + width_args, **sp_kwargs
                         ['bidiv'] + width_args, **sp_kwargs
                     )
                     )
                 except OSError:
                 except OSError:
-                    print('Falling back to fribidi')
                     self._output_process = subprocess.Popen(
                     self._output_process = subprocess.Popen(
                         ['fribidi', '-c', 'UTF-8'] + width_args, **sp_kwargs)
                         ['fribidi', '-c', 'UTF-8'] + width_args, **sp_kwargs)
                 self._output_channel = os.fdopen(master, 'rb')
                 self._output_channel = os.fdopen(master, 'rb')
@@ -251,7 +250,6 @@ class YoutubeDL(object):
 
 
     def _bidi_workaround(self, message):
     def _bidi_workaround(self, message):
         if not hasattr(self, '_output_channel'):
         if not hasattr(self, '_output_channel'):
-            print('WORKAROUND NOT ENABLED')
             return message
             return message
 
 
         assert hasattr(self, '_output_process')
         assert hasattr(self, '_output_process')