summaryrefslogtreecommitdiffstats
path: root/tools/enable-pre-commit-hook.sh
diff options
context:
space:
mode:
authorStanislaw Pitucha <stanislaw.pitucha@hp.com>2013-01-30 11:21:25 +0000
committerStanislaw Pitucha <stanislaw.pitucha@hp.com>2013-01-30 11:58:42 +0000
commitf8395098a97e456f376386984c2b6239558185e3 (patch)
tree00bf94917f7bd55e911b1bab80b548d70b13d3a5 /tools/enable-pre-commit-hook.sh
parentb919a330084ec171eccce828b5b73898e8a2f092 (diff)
Fix boto capabilities check
In commit 4845fc27 a capability check for the boto library has been accidentally broken. boto.connection existed in all versions and it was HTTPResponse class that should cause the ImportError. Exception will not happen on the import line anymore, so check the capabilities using hasattr() instead. Change-Id: Ic9bff71b91de685a958400f12836322c7ca996c4
Diffstat (limited to 'tools/enable-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions