projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c1846d
)
suppress ssh host addition warning
author
realraum
<realraum@realraum.at>
Mon, 5 Jul 2010 05:31:14 +0000
(
05:31
+0000)
committer
realraum
<realraum@realraum.at>
Mon, 5 Jul 2010 05:31:14 +0000
(
05:31
+0000)
track-presence.py
patch
|
blob
|
history
diff --git
a/track-presence.py
b/track-presence.py
index
789a75c
..
9f0aa66
100755
(executable)
--- a/
track-presence.py
+++ b/
track-presence.py
@@
-178,7
+178,8
@@
def trackSensorStatusThread(uwscfg,status_tracker,connection_listener):
if len(line) < 1:
raise Exception("EOF on Subprocess, daemon seems to have quit, returncode: %d",sshp.returncode)
logging.debug("trackSensorStatusThread: Got Line: " + line)
- connection_listener.distributeData(line)
+ if not line.startswith("Warning: Permanently added"):
+ connection_listener.distributeData(line)
m = RE_MOVEMENT.match(line)
if not m is None:
status_tracker.movementDetected()