Merge pull request #1279 from kyuupichan/proxy_cleanup

Remove unused vars and imports.
This commit is contained in:
ThomasV 2015-06-05 08:54:33 +02:00
commit 8cba57d999

View file

@ -16,20 +16,13 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import socket
import time
import sys
import os
import threading import threading
import traceback
import json
import Queue import Queue
import util import util
from network import Network from network import Network
from util import print_error, print_stderr, parse_json from util import print_error
from simple_config import SimpleConfig from simple_config import SimpleConfig
from daemon import NetworkServer
from network import serialize_proxy, serialize_server from network import serialize_proxy, serialize_server
@ -47,7 +40,6 @@ class NetworkProxy(util.DaemonThread):
self.subscriptions = {} self.subscriptions = {}
self.debug = False self.debug = False
self.lock = threading.Lock() self.lock = threading.Lock()
self.pending_transactions_for_notifications = []
self.callbacks = {} self.callbacks = {}
if socket: if socket: