chiark / gitweb /
common: Introduce FDroidPopenBytes
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 4 Jan 2016 17:59:19 +0000 (18:59 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 11 Mar 2016 13:27:00 +0000 (13:27 +0000)
commit4cb5ff02472fc11f80dfb461177d23c6b76cc70e
tree01a3a213800f626e1d278ef776cc996f70c68fef
parent63f8718cf54ff63a24df71ee21ddab82122e4ed6
common: Introduce FDroidPopenBytes

* We can now get the output bytes directly if desired
* FDroidPopen remains with str output
* Ouptut is now buffered efficiently with a BytesIO instead of
  concatenating strings
fdroidserver/common.py