mesosphere/mesos-docker — pull request #20 by takedakn (2014-01-16 01:19:09+00:00)
Title: Add check_output() for python 2.6 or earlier.

subprocess.check_output() was introduced in python 2.7.
In python 2.6 environment like RHEL/CentOS 6.x, execution of mesos-docker fails with this error:

```
AttributeError: 'module' object has no attribute 'check_output'
```

This patch adds check_output() for python 2.6 or earlier.

Tested on CentOS 6.5 x86_64 / Python 2.6.6 / Docker 0.7.2 / Mesos 0.16.0-rc2 .