From: S.Çağlar Onur Date: Thu, 22 Jul 2010 20:39:12 +0000 (-0400) Subject: use lowercase hostnames X-Git-Tag: plcapi-5.0-15~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=46d5da251a8bb03f49318b42bbd57995d0991da6;p=plcapi.git use lowercase hostnames --- diff --git a/PLC/Nodes.py b/PLC/Nodes.py index 6b799c1..96cce36 100644 --- a/PLC/Nodes.py +++ b/PLC/Nodes.py @@ -92,6 +92,7 @@ class Node(Row): tags = { } def validate_hostname(self, hostname): + hostname = hostname.lower() if not valid_hostname(hostname): raise PLCInvalidArgument, "Invalid hostname"