git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use lowercase hostnames
[plcapi.git]
/
PLC
/
Nodes.py
diff --git
a/PLC/Nodes.py
b/PLC/Nodes.py
index
6b799c1
..
96cce36
100644
(file)
--- 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"