- allow foreign keys to be blacklisted
authorMark Huang <mlhuang@cs.princeton.edu>
Thu, 11 Jan 2007 05:55:54 +0000 (05:55 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Thu, 11 Jan 2007 05:55:54 +0000 (05:55 +0000)
PLC/Methods/BlacklistKey.py

index 0e583df..1c03d6e 100644 (file)
@@ -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()