From 956985286b9f550e9210828a282281ec5b3003fb Mon Sep 17 00:00:00 2001 From: Tim McNamara Date: Sat, 14 Aug 2010 20:48:22 +0000 Subject: Fixed docstring Moved an intialisation component from the start of the class sbRpcServer. This enables the docstring to function correctly. --- diff --git a/Experior.Activity/sbrpcserver.py b/Experior.Activity/sbrpcserver.py index 1b6b997..59b748c 100755 --- a/Experior.Activity/sbrpcserver.py +++ b/Experior.Activity/sbrpcserver.py @@ -62,8 +62,6 @@ class sugarbotSession(): log = property(lambda self: logging.getLogger(str(self.id))) class sbRpcServer(SimpleXMLRPCServer): - sugarbotActivityVar = 'sugarActivityName' - """ Sugarbot RPC Server @@ -76,7 +74,9 @@ class sbRpcServer(SimpleXMLRPCServer): The list of files, as well as each file's contents, are kept entirely in memory. This may lead to issues in the future with particularly large script files, but this is currently not a problem. - """ + """ + sugarbotActivityVar = 'sugarActivityName' + def __init__(self, args=[], xmlport=port, kill=False, restart=False): # Random port? if xmlport is None: -- cgit v0.9.1