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
- make Add() calling convention consistent among all functions that
[plcapi.git]
/
PLC
/
Keys.py
diff --git
a/PLC/Keys.py
b/PLC/Keys.py
index
37fddbd
..
542224d
100644
(file)
--- a/
PLC/Keys.py
+++ b/
PLC/Keys.py
@@
-28,8
+28,6
@@
class Key(Row):
return key_type
def validate_key(self, key):
- key = key.strip()
-
# Key must not be blacklisted
rows = self.api.db.selectall("SELECT 1 from keys" \
" WHERE key = %(key)s" \