Skip to content

Commit 27ebbe4

Browse files
Bastian-KrauseEmantor
authored andcommitted
linux: remove wrong log attempt
There is neither a "self" nor a "logger". The caller knows that no ip address has been found as the return value is None, so remove this without substitution. Signed-off-by: Bastian Krause <[email protected]>
1 parent 18f218b commit 27ebbe4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

labgridhelper/linux.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ def get_interface_ip(command, interface="eth0"):
156156
try:
157157
ip_string = command.run_check("ip -o -4 addr show")
158158
except ExecutionError:
159-
self.logger.debug('No ip address found')
160159
return None
161160

162161
regex = re.compile(

0 commit comments

Comments
 (0)