compatibility with F20's python 2.7.5-12

background story: http://lists.ovirt.org/pipermail/devel/2014-June/007813.html
What if we drop the version check and leave only the to_close check?

This is becoming too crazy - the real fix is to use override __init__ with
our version.


On Mon, Jun 23, 2014 at 5:48 PM, Yaniv Bronhaim <notifications@github.com>
wrote:

> In cpopen/__init__.py:
>
> > @@ -101,5 +102,7 @@ def _execute_child_v275(self, args, executable, preexec_fn, close_fds,
> >
> >      if sys.version_info[0:3] >= (2, 7, 6):
> >          _execute_child = _execute_child_v276
> > +    elif 'to_close' in inspect.getargspec(Popen._execute_child).args:
> > +        _execute_child = _execute_child_v276
> >      else:
>
> +1 by me, lets see if others have comments
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ovirt-infra/cpopen/pull/24/files#r14078747>.
>