1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Applied-Upstream: commit:873aaba176b4a0063de2a50c0dcc57517af89d8a
From: Paul Wise <pabs3@bonedaddy.net>
Date: Sun, 29 Dec 2013 07:48:01 +0800
Bug-Debian: http://bugs.debian.org/733336
Subject: Don't emit errors about empty files since those are not useful.
--- a/codespell.py
+++ b/codespell.py
@@ -178,8 +178,6 @@
f.close()
if not lines:
- print('ERROR: Could not detect encoding: %s' % filename,
- file=sys.stderr)
raise Exception('Unknown encoding')
encoding = encodings[curr]
|