<s> import sys , os <EOL> from xierpa3 . server . base . baseclient import BaseClient <EOL> from twisted . web . resource import Resource <EOL> from twisted . internet import reactor <EOL> class TwistedClient ( BaseClient , Resource ) : <EOL> def isLeaf ( self ) : <EOL> u"""<STR_LIT>""" <EOL> return True <EOL> def reload ( self ) : <EOL> self . showStopLabel ( ) <EOL> args = [ sys . executable ] + sys . argv <EOL> new_environ = os . environ . copy ( ) <EOL> print args , new_environ <EOL> getattr ( reactor , '<STR_LIT>' ) ( ) </s>
