Permalink
Browse files

MB-100: remove unused imports

Change-Id: Idb54663dc02dd0e514f1dbab5122b59759c0881d
Reviewed-on: http://review.couchbase.org/21497
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Pavel Paulau <pavel.paulau@gmail.com>
  • Loading branch information...
1 parent a4f5bdd commit 76254e6572a8dc65f4f96bdb8a208d83d7faf0a2 @pavel-paulau pavel-paulau committed with Peter Wansch Oct 10, 2012
Showing with 1 addition and 31 deletions.
  1. +0 −2 collector.py
  2. +0 −3 info.py
  3. +0 −3 listservers.py
  4. +1 −4 mc_bin_client.py
  5. +0 −1 processor.py
  6. +0 −1 pump.py
  7. +0 −1 pump_bfd.py
  8. +0 −5 pump_cb.py
  9. +0 −2 pump_mbf.py
  10. +0 −1 pump_mc.py
  11. +0 −4 pump_sfd.py
  12. +0 −2 pump_tap.py
  13. +0 −1 pump_transfer.py
  14. +0 −1 restclient.py
View
2 collector.py
@@ -4,11 +4,9 @@
import sys
import traceback
import copy
-import logging
import listservers
import buckets
-import node
import info
import util_cli as util
import mc_bin_client
View
3 info.py
@@ -5,12 +5,9 @@
Provides info about a particular server.
"""
-from usage import usage
-
import restclient
import simplejson
import subprocess
-import sys
import string
import random
View
3 listservers.py
@@ -1,10 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-
-import sys
import restclient
-from usage import usage
class ListServers:
def __init__(self):
View
5 mc_bin_client.py
@@ -5,8 +5,6 @@
Copyright (c) 2007 Dustin Sallings <dustin@spy.net>
"""
-import sys
-import time
import hmac
import socket
import random
@@ -15,8 +13,7 @@
from memcacheConstants import REQ_MAGIC_BYTE, RES_MAGIC_BYTE
from memcacheConstants import REQ_PKT_FMT, RES_PKT_FMT, MIN_RECV_PACKET
-from memcacheConstants import SET_PKT_FMT, DEL_PKT_FMT, INCRDECR_RES_FMT
-from memcacheConstants import TOUCH_PKT_FMT, GAT_PKT_FMT, GETL_PKT_FMT
+from memcacheConstants import SET_PKT_FMT, INCRDECR_RES_FMT
import memcacheConstants
class MemcachedError(exceptions.Exception):
View
1 processor.py
@@ -1,5 +1,4 @@
import datetime
-import logging
import util_cli as util
import sys
View
1 pump.py
@@ -15,7 +15,6 @@
import urlparse
import zlib
-import mc_bin_client
import memcacheConstants
# TODO: (1) optionally log into backup directory
View
1 pump_bfd.py
@@ -4,7 +4,6 @@
import glob
import logging
import os
-import re
import simplejson as json
import string
import sys
View
5 pump_cb.py
@@ -1,17 +1,12 @@
#!/usr/bin/env python
-import ctypes
import logging
import simplejson as json
-import socket
-import struct
import time
import pump
import pump_mc
-import mc_bin_client
-import memcacheConstants
class CBSink(pump_mc.MCSink):
"""Smart client sink to couchbase cluster."""
View
2 pump_mbf.py
@@ -4,8 +4,6 @@
import glob
import logging
import os
-import re
-import subprocess
import sys
import memcacheConstants
View
1 pump_mc.py
@@ -4,7 +4,6 @@
import logging
import socket
import struct
-import sys
import time
import mc_bin_client
View
4 pump_sfd.py
@@ -1,18 +1,14 @@
#!/usr/bin/env python
import collections
-import ctypes
import glob
import logging
import os
import Queue
import re
-import socket
import simplejson as json
import struct
-import sys
import threading
-import time
import couchstore
import memcacheConstants
View
2 pump_tap.py
@@ -1,9 +1,7 @@
#!/usr/bin/env python
-import base64
import logging
import random
-import re
import simplejson as json
import socket
import string
View
1 pump_transfer.py
@@ -3,7 +3,6 @@
import copy
import logging
import optparse
-import os
import sys
import threading
View
1 restclient.py
@@ -14,7 +14,6 @@
import simplejson as json
import string
-from StringIO import StringIO
class RestClient:
def __init__(self, server, port, opts= {}):

0 comments on commit 76254e6

Please sign in to comment.