Do not print file name on warning message (fixes issue #197)
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sat, 11 Sep 2010 07:52:25 +0000 (09:52 +0200)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:28:41 +0000 (11:28 +0100)
youtube-dl

index 37903362105cbcff7946a7aeb764c077540532df..9c1ead646f4d2f7fc41564728f2bf862ebc7b7c3 100755 (executable)
@@ -407,7 +407,7 @@ class FileDownloader(object):
                        self.trouble(u'ERROR: invalid system charset or erroneous output template')
                        return
                if self.params.get('nooverwrites', False) and os.path.exists(filename):
-                       self.to_stderr(u'WARNING: file exists: %s; skipping' % filename)
+                       self.to_stderr(u'WARNING: file exists and will be skipped')
                        return
 
                try: