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
- allow foreign keys to be blacklisted
[plcapi.git]
/
PLC
/
Methods
/
BlacklistKey.py
diff --git
a/PLC/Methods/BlacklistKey.py
b/PLC/Methods/BlacklistKey.py
index
0e583df
..
1c03d6e
100644
(file)
--- a/
PLC/Methods/BlacklistKey.py
+++ b/
PLC/Methods/BlacklistKey.py
@@
-34,7
+34,8
@@
class BlacklistKey(Method):
if not keys:
raise PLCInvalidArgument, "No such key"
key = keys[0]
- PLCCheckLocalKey(key,"BlackListKey")
+
+ # N.B.: Can blacklist any key, even foreign ones
key.blacklist()