* Stuart Prescott <[email protected]>, 2012-06-29, 00:57:
+                    p = subprocess.Popen(['unxz', '--stdout'],
+                              stdin=subprocess.PIPE, stdout=subprocess.PIPE,
+                              universal_newlines=False)
+                    fh2 = io.BytesIO(p.communicate(self.__member.read())[0])

What if unxz fails to decompress the file?

--
Jakub Wilk

--
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-python-debian-maint

Reply via email to