Skip to content

Commit

Permalink
linux: remove wrong log attempt
Browse files Browse the repository at this point in the history
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 <bst@pengutronix.de>
  • Loading branch information
Bastian-Krause authored and Emantor committed Nov 16, 2020
1 parent 18f218b commit 27ebbe4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion labgridhelper/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ def get_interface_ip(command, interface="eth0"):
try:
ip_string = command.run_check("ip -o -4 addr show")
except ExecutionError:
self.logger.debug('No ip address found')
return None

regex = re.compile(
Expand Down

0 comments on commit 27ebbe4

Please sign in to comment.