diff options
author | Tim McNamara <code@timmcnamara.co.nz> | 2010-08-14 20:48:22 (GMT) |
---|---|---|
committer | Tim McNamara <code@timmcnamara.co.nz> | 2010-08-14 20:48:22 (GMT) |
commit | 956985286b9f550e9210828a282281ec5b3003fb (patch) | |
tree | 1fd06197e1d9ef2981dbf2c58a1bcb678eb5254e | |
parent | 71befb17bab0113b39aae26e4204de9c585f5a17 (diff) |
Fixed docstring
Moved an intialisation component from the start of the
class sbRpcServer. This enables the docstring to function
correctly.
-rwxr-xr-x | Experior.Activity/sbrpcserver.py | 6 |
1 files changed, 3 insertions, 3 deletions
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: |