예제 #1
0
파일: sftp.py 프로젝트: mytardis/mytardis
 def session_ended(self):
     """
     run cleanup on exceptions or disconnection.
     idea: collect stats and store them in this function
     """
     tracker.track_logout('sftp', session_id=self.uuid, ip=self.client_ip,
                          user=self.user)
예제 #2
0
파일: sftp.py 프로젝트: Milstein/mytardis
 def session_ended(self):
     """
     run cleanup on exceptions or disconnection.
     idea: collect stats and store them in this function
     """
     tracker.track_logout('sftp', session_id=self.uuid, ip=self.client_ip,
                          user=self.user)