Merge pull request #170 from wiredfool/dpkg-arch

fixed duplicate dpkg
This commit is contained in:
Alex Clark ☺ 2013-03-27 09:07:54 -07:00
commit c20d24e421

View File

@ -453,8 +453,6 @@ class pil_build_ext(build_ext):
tmpfile = os.path.join(self.build_temp, 'multiarch')
if not os.path.exists(self.build_temp):
os.makedirs(self.build_temp)
ret = os.system('dpkg-architecture -qDEB_HOST_MULTIARCH > %s' %
tmpfile)
ret = os.system(
'dpkg-architecture -qDEB_HOST_MULTIARCH > %s 2> /dev/null' %
tmpfile)