Commit 5ca1d531 authored by Michal Horejsek's avatar Michal Horejsek

Lint

parent 13b45b27
"""
Log utilities.
"""
import logging
from twisted.python import log
def init_python_logging(filename, level):
"""
Starts Twisted observer sending all log messages to Python
logging system and makes basic configuration as file name
and log level.
"""
observer = log.PythonLoggingObserver()
observer.start()
......
......@@ -102,6 +102,10 @@ class ProxySSHUser(ConchUser):
# pylint: disable=invalid-name
def getUserGroupID(self):
"""
Returns tuple with user and group ID.
Method needed by `SSHSessionForUnixConchUser`.
"""
return None, None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment