From: Scott Gasch Date: Sat, 13 Aug 2022 00:41:14 +0000 (-0700) Subject: Skip line about X11 forwarding in data read via ssh. X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;h=54b5493516c71cd8f5ac65a698c73c2adc629838;p=python_utils.git Skip line about X11 forwarding in data read via ssh. --- diff --git a/base_presence.py b/base_presence.py index 6464e97..c4d61da 100755 --- a/base_presence.py +++ b/base_presence.py @@ -179,6 +179,8 @@ class PresenceDetection(object): cabin_count = 0 for line in lines: line = line.strip() + if 'using fake authentication data for X11' in line: + continue if len(line) == 0: continue logger.debug('%s> %s', location, line)