Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 458ff24

Browse files
committed
Fix typo breaking --debug option to cinder client
Fixes LP bug #1130730 Change-Id: Ia105e8a561b8d45c60e9a3c6ed46a953cc6df96f
1 parent 4c37593 commit 458ff24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cinderclient/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(self, user, password, projectid, auth_url, insecure=False,
7575
ch = logging.StreamHandler()
7676
self._logger.setLevel(logging.DEBUG)
7777
self._logger.addHandler(ch)
78-
if hasattr(requests, logging):
78+
if hasattr(requests, 'logging'):
7979
requests.logging.getLogger(requests.__name__).addHandler(ch)
8080

8181
def http_log_req(self, args, kwargs):

0 commit comments

Comments
 (0)