Skip to content

Commit

Permalink
pep8: Fix trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
cygnusb committed May 4, 2022
1 parent 2733d21 commit a9f3a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pypureomapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a9f3a14

Please sign in to comment.