deps: Pykka version check doesn't need to work with < 1.0

This commit is contained in:
Stein Magnus Jodal 2012-11-15 08:48:43 +01:00
parent 4d4c560882
commit b3fd9d8b40

View File

@ -135,15 +135,9 @@ def _gstreamer_check_elements():
def pykka_info():
if hasattr(pykka, '__version__'):
# Pykka >= 0.14
version = pykka.__version__
else:
# Pykka < 0.14
version = pykka.get_version()
return {
'name': 'Pykka',
'version': version,
'version': pykka.__version__,
'path': pykka.__file__,
}