- fix AddPCU() call
authorMark Huang <mlhuang@cs.princeton.edu>
Wed, 25 Oct 2006 19:34:12 +0000 (19:34 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Wed, 25 Oct 2006 19:34:12 +0000 (19:34 +0000)
PLC/Methods/AddPCU.py

index 95ecb63..83cb00d 100644 (file)
@@ -38,7 +38,7 @@ class AddPCU(Method):
     object_type = 'PCU'
     object_ids = []
 
-    def call(self, auth, site_id_or_login_base, pcu_fields = {}):
+    def call(self, auth, site_id_or_login_base, pcu_fields):
         pcu_fields = dict(filter(can_update, pcu_fields.items()))
 
         # Get associated site details