Missing includes

This commit is contained in:
Marco Pesenti Gritti 2006-05-12 18:59:14 -04:00
parent 42feca7cb3
commit 8a2cef6a4f

View File

@ -1,6 +1,11 @@
MODEL_SERVICE_TYPE = "_olpc_model._tcp"
MODEL_SERVICE_PORT = 6300
import xmlrpclib
from sugar.p2p.Service import Service
import sugar.p2p.network
class RemoteModel:
def __init__(self, service):
self._service = service
@ -30,6 +35,8 @@ class LocalModel:
self._model_id = model_id
self._values = {}
self._setup_service()
def get_value(self, key):
return self._values[key]