diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2005-10-15 17:16:20 +0000 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2005-10-15 17:16:20 +0000 |
commit | e129b21b9faca88693025cbb03ab5f1a98f05899 (patch) | |
tree | 0f28929bbb169ecc40e9c3628732472608c24942 /src/GLIUtility.py | |
parent | fix indentation issues (diff) | |
download | gli-e129b21b9faca88693025cbb03ab5f1a98f05899.tar.gz gli-e129b21b9faca88693025cbb03ab5f1a98f05899.tar.bz2 gli-e129b21b9faca88693025cbb03ab5f1a98f05899.zip |
clean up some tab/space messes
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/trunk@963 f8877401-5920-0410-a79b-8e2d7e04ca0d
Diffstat (limited to 'src/GLIUtility.py')
-rw-r--r-- | src/GLIUtility.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GLIUtility.py b/src/GLIUtility.py index cf10ec8..7bc1214 100644 --- a/src/GLIUtility.py +++ b/src/GLIUtility.py @@ -54,9 +54,9 @@ def is_ip(ip): # before using this function. Returns bool. # @param mac mac address to be checked. def is_mac(mac): - expr = re.compile('([0-9A-F]{2}:){5}[0-9A-F]{2}') - res = expr.match(mac) - return(res != None) + expr = re.compile('([0-9A-F]{2}:){5}[0-9A-F]{2}') + res = expr.match(mac) + return(res != None) ## # Format's a mac address properly. Returns the correctly formatted MAC. (a string) |