diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2011-12-27 18:04:33 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2011-12-27 18:04:33 +0000 |
commit | 8190bfb90b272cb98fed05dfdb6d2398c2c20a80 (patch) | |
tree | e345f9ebd606e55b9aa5ea0c58afe41a2dd49fd7 /pynslcd/ether.py | |
parent | 2853f887a372a0a46285f498157d38367ade9739 (diff) |
PEP8 fixes
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1573 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'pynslcd/ether.py')
-rw-r--r-- | pynslcd/ether.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pynslcd/ether.py b/pynslcd/ether.py index b26dcc7..42fa77e 100644 --- a/pynslcd/ether.py +++ b/pynslcd/ether.py @@ -28,6 +28,7 @@ def ether_aton(ether): """Converst an ethernet address to binary form in network byte order.""" return struct.pack('BBBBBB', *(int(x, 16) for x in ether.split(':'))) + def ether_ntoa(ether): """Conversts an ethernet address in network byte order to the string representation.""" |