git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0eb098
)
use lowercase hostnames
author
S.Çağlar Onur
<caglar@cs.princeton.edu>
Thu, 22 Jul 2010 20:39:12 +0000
(16:39 -0400)
committer
S.Çağlar Onur
<caglar@cs.princeton.edu>
Thu, 22 Jul 2010 20:39:12 +0000
(16:39 -0400)
PLC/Nodes.py
patch
|
blob
|
history
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"