summaryrefslogtreecommitdiff
path: root/swiftclient/client.py
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-04-28 19:16:38 -0700
committerMonty Taylor <mordred@inaugust.com>2013-05-01 12:23:01 -0400
commit1eb2c29856fda85abbf7c06802b4fb09cc66bb41 (patch)
tree4206cd841e1e23dcd7a8e18571f6a069b3847d1b /swiftclient/client.py
parent000e33d0218b1e71d8798f3bd208f92cb89eaa7f (diff)
downloadpython-swiftclient-1eb2c29856fda85abbf7c06802b4fb09cc66bb41.tar.gz
Switch to flake8.
Change-Id: Ib9ba1e7eed09c5a90c558a8365d0a87c3f4b5ee5
Diffstat (limited to 'swiftclient/client.py')
-rw-r--r--swiftclient/client.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/swiftclient/client.py b/swiftclient/client.py
index 689188c..e7409ab 100644
--- a/swiftclient/client.py
+++ b/swiftclient/client.py
@@ -18,7 +18,6 @@ Cloud Files client library used internally
"""
import socket
-import os
import sys
import logging
import warnings
@@ -99,11 +98,9 @@ def encode_utf8(value):
try:
# simplejson is popular and pretty good
from simplejson import loads as json_loads
- from simplejson import dumps as json_dumps
except ImportError:
# 2.6 will have a json module in the stdlib
from json import loads as json_loads
- from json import dumps as json_dumps
class ClientException(Exception):