From 4ddb58ce9e609df3c0ac4be555f19643ef0511cc Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 26 Jun 2013 13:47:41 +0200 Subject: Start using pyflakes Instead of globally disabling pyflakes warnings, disable only those that occur frequently and fix the rest. Enable gating on those. Change-Id: I774d809ebcda2339b30c104b031211a3b2c491bd --- troveclient/client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'troveclient/client.py') diff --git a/troveclient/client.py b/troveclient/client.py index 1409448..335daa4 100644 --- a/troveclient/client.py +++ b/troveclient/client.py @@ -130,7 +130,6 @@ class TroveHTTPClient(httplib2.Http): _logger.debug("RESP:%s %s\n", resp, body) def pretty_log(self, args, kwargs, resp, body): - from troveclient import common if not _logger.isEnabledFor(logging.DEBUG): return @@ -283,7 +282,7 @@ class Dbaas(object): Create an instance with your creds:: - >>> red = Dbaas(USERNAME, API_KEY, TENANT, AUTH_URL, SERVICE_NAME, + >>> red = Dbaas(USERNAME, API_KEY, TENANT, AUTH_URL, SERVICE_NAME, \ SERVICE_URL) Then call methods on its managers:: -- cgit v1.2.1