:Oc@`sQdZddlmZmZmZmZddlmZmZm Z dZ dS(u pyudev._compat ============== Compatibility for Python versions, that lack certain functions. .. moduleauthor:: Sebastian Wiesner i(tprint_functiontdivisiontunicode_literalstabsolute_import(tPopentCalledProcessErrortPIPEcC`sJt|dt}|jd}|jdkrFt|j|n|S(u] Compatibility with :func:`subprocess.check_output` from Python 2.7 and upwards. tstdouti(RRt communicatet returncodeR(tcommandtproctoutput((s2/usr/lib/python2.7/site-packages/pyudev/_compat.pyt check_output#s N( t__doc__t __future__RRRRt subprocessRRRR (((s2/usr/lib/python2.7/site-packages/pyudev/_compat.pyts"