def get_client_ip(self):
if self.client_ip:<EOL><INDENT>return self.client_ip<EOL><DEDENT>try:<EOL><INDENT>client = os.environ.get('<STR_LIT>',<EOL>os.environ.get('<STR_LIT>'))<EOL>self.client_ip = client.split()[<NUM_LIT:0>]<EOL>self.logdebug('<STR_LIT>' % self.client_ip)<EOL>return self.client_ip<EOL><DEDENT>except:<EOL><INDENT>raise SSHEnvironmentError('<STR_LIT>'<EOL>'<STR_LIT>')<EOL><DEDENT>
Return the client IP from the environment.