Added some extra formating

This commit is contained in:
Uriziel 2013-10-13 18:01:34 +02:00
parent 22b426a5ea
commit 68486f1e43

View File

@ -6,6 +6,7 @@ from functools import wraps
import time import time
from syncplay.messages import getMessage from syncplay.messages import getMessage
class JSONCommandProtocol(LineReceiver): class JSONCommandProtocol(LineReceiver):
def handleMessages(self, messages): def handleMessages(self, messages):
for message in messages.iteritems(): for message in messages.iteritems():
@ -48,6 +49,7 @@ class JSONCommandProtocol(LineReceiver):
def dropWithError(self, error): def dropWithError(self, error):
raise NotImplementedError() raise NotImplementedError()
class SyncClientProtocol(JSONCommandProtocol): class SyncClientProtocol(JSONCommandProtocol):
def __init__(self, client): def __init__(self, client):
self._client = client self._client = client