Fix debug with requests.
Fix debug with requests.

- From http://docs.python.org/2/library/functions.html#hasattr :
   hasattr(object, name) -- The arguments are an object and a string.
- Fixes bug 1124084.

Change-Id: I47283abff440abdf827598c2497519f3de510baf

sdpp/python-keystoneclient,metacloud/python-keystoneclient,magic0704/python-keystoneclient,klmitch/python-keystoneclient,metacloud/python-keystoneclient,ging/python-keystoneclient,jamielennox/python-keystoneclient,darren-wang/ksc,Mercador/python-keystoneclient,jamielennox/python-keystoneclient,citrix-openstack-build/python-keystoneclient,jamielennox/python-keystoneclient,magic0704/python-keystoneclient,citrix-openstack-build/python-keystoneclient,Mercador/python-keystoneclient,klmitch/python-keystoneclient,alexpilotti/python-keystoneclient,alexpilotti/python-keystoneclient,darren-wang/ksc,ntt-sic/python-keystoneclient,sdpp/python-keystoneclient,citrix-openstack-build/python-keystoneclient,ging/python-keystoneclient,ntt-sic/python-keystoneclient,ntt-sic/python-keystoneclient