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:
0fc43b4
)
- allow foreign keys to be blacklisted
author
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 11 Jan 2007 05:55:54 +0000
(
05:55
+0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 11 Jan 2007 05:55:54 +0000
(
05:55
+0000)
PLC/Methods/BlacklistKey.py
patch
|
blob
|
history
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()