From a9f3a14ad1441e862e79685633fcae5439333faf Mon Sep 17 00:00:00 2001 From: "Dr. Torge Valerius" Date: Wed, 4 May 2022 19:39:47 +0200 Subject: [PATCH] pep8: Fix trailing whitespaces --- pypureomapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pypureomapi.py b/pypureomapi.py index 9944db9..def4299 100644 --- a/pypureomapi.py +++ b/pypureomapi.py @@ -1143,7 +1143,7 @@ def lookup_host(self, name): return dict(ip=res["ip-address"], mac=res["hardware-address"], hostname=res["name"].decode('utf-8')) except KeyError: raise OmapiErrorAttributeNotFound() - + def lookup_host_by_ip(self, ip): """Look for a host object with given ip address and return the name, mac, and ip address @@ -1161,7 +1161,7 @@ def lookup_host_by_ip(self, ip): return dict(ip=res["ip-address"], mac=res["hardware-address"], hostname=res["name"].decode('utf-8')) except KeyError: raise OmapiErrorAttributeNotFound() - + def lookup_host_host(self, mac): """Look for a host object with given mac address and return the name, mac, and ip address