summaryrefslogtreecommitdiff
path: root/community/onboard/1012_1011.diff
blob: 233478ac97b6fc3d893d834bb53ffd1b5d37081c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
=== modified file 'setup.py'
--- setup.py	2012-08-09 13:21:31 +0000
+++ setup.py	2012-10-18 17:17:38 +0000
@@ -11,12 +11,6 @@
 from distutils.core import Extension, Command
 from distutils      import version
 
-# Work around encoding error in python3-distutils-extra
-# when building in pbuilder with LANG=C (LP# 1017468).
-if sys.version_info.major == 3:
-    import locale
-    locale.getpreferredencoding = lambda: 'UTF-8'
-
 try:
     import DistUtilsExtra.auto
 except ImportError: