[Python-modules-commits] r28340 - in packages/guessit/trunk/debian (3 files)
emillon-guest at users.alioth.debian.org
emillon-guest at users.alioth.debian.org
Fri Mar 28 08:02:23 UTC 2014
Date: Friday, March 28, 2014 @ 08:02:22
Author: emillon-guest
Revision: 28340
guessit: set LC_ALL=C.UTF-8 for tests
Modified:
packages/guessit/trunk/debian/patches/series
packages/guessit/trunk/debian/rules
Deleted:
packages/guessit/trunk/debian/patches/stdout_encoding.patch
Modified: packages/guessit/trunk/debian/patches/series
===================================================================
--- packages/guessit/trunk/debian/patches/series 2014-03-28 00:06:53 UTC (rev 28339)
+++ packages/guessit/trunk/debian/patches/series 2014-03-28 08:02:22 UTC (rev 28340)
@@ -1,2 +1 @@
test_hash.patch
-stdout_encoding.patch
Deleted: packages/guessit/trunk/debian/patches/stdout_encoding.patch
===================================================================
--- packages/guessit/trunk/debian/patches/stdout_encoding.patch 2014-03-28 00:06:53 UTC (rev 28339)
+++ packages/guessit/trunk/debian/patches/stdout_encoding.patch 2014-03-28 08:02:22 UTC (rev 28340)
@@ -1,21 +0,0 @@
-From: Etienne Millon <me at emillon.org>
-Subject: Print filenames as ASCII only
-
-Guessit's demo function prints the filenames to the terminal.
-It fails if the terminal is not unicode aware, which is the case when LC_ALL=C
-(eg when tests are run under pybuild).
-
-Forwarded: not-needed
-Last-Update: 2014-03-04
-
---- a/guessit/__main__.py
-+++ b/guessit/__main__.py
-@@ -31,7 +31,7 @@
- options = options or {}
- filename = u(filename)
-
-- print('For:', filename)
-+ print('For:', filename.encode('ascii', 'backslashreplace'))
- guess = guess_file_info(filename, info, options, **kwargs)
- if options.get('yaml'):
- try:
Modified: packages/guessit/trunk/debian/rules
===================================================================
--- packages/guessit/trunk/debian/rules 2014-03-28 00:06:53 UTC (rev 28339)
+++ packages/guessit/trunk/debian/rules 2014-03-28 08:02:22 UTC (rev 28340)
@@ -10,3 +10,6 @@
override_dh_installchangelogs:
dh_installchangelogs HISTORY.rst
+
+override_dh_auto_test:
+ LC_ALL=C.UTF-8 dh_auto_test
More information about the Python-modules-commits
mailing list