equal
deleted
inserted
replaced
146 |
146 |
147 def postcommit_event(self): |
147 def postcommit_event(self): |
148 """the observed connections set has been commited""" |
148 """the observed connections set has been commited""" |
149 cwprop = self.cwprop |
149 cwprop = self.cwprop |
150 if not cwprop.for_user: |
150 if not cwprop.for_user: |
151 self.cnx.vreg['propertyvalues'][cwprop.pkey] = cwprop.value |
151 self.cnx.vreg['propertyvalues'][cwprop.pkey] = \ |
|
152 self.cnx.vreg.typed_value(cwprop.pkey, cwprop.value) |
152 # if for_user is set, update is handled by a ChangeCWPropertyOp operation |
153 # if for_user is set, update is handled by a ChangeCWPropertyOp operation |
153 |
154 |
154 |
155 |
155 class AddCWPropertyHook(SyncSessionHook): |
156 class AddCWPropertyHook(SyncSessionHook): |
156 __regid__ = 'addcwprop' |
157 __regid__ = 'addcwprop' |