commit | 80925f513125caf627758a5363bebb9782b30c57 | [log] [tgz] |
---|---|---|
author | Antoine Musso <hashar@free.fr> | Sat Sep 22 21:37:45 2012 +0200 |
committer | Jenkins <jenkins@review.openstack.org> | Wed Sep 26 14:19:05 2012 +0000 |
tree | 0304fa099e8bb816f16d2a1ea65edfa7e2c831f2 | |
parent | a969e820300d811b73811041d3b14272338c7bb9 [diff] |
fix back compat issues with python modules When using python-daemon 1.6, the interface has changed in an uncompatible way. Clark pointed me to Gerritbot which solves that issue with a simple try / catch block implemented with: https://github.com/openstack-ci/gerritbot/commit/b2be72e69d08c774989b2cc8c39748ed06ffb1bf So this patch is merely a copy/paste from David "davido" Ostrovsky with a small workaround for pyflakes issue #13 (we have to prented we are using the variable holding the module). Change-Id: Iffdf7fca067734fa9c09b5bddfb13f122e6251a7 Reviewed-on: https://review.openstack.org/13524 Reviewed-by: Monty Taylor <mordred@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins