changeset 78 | 2a3407a14654 |
parent 77 | 8d14aac93b5d |
child 106 | 0519745e7a57 |
--- a/src/mercurialserver/ruleset.py Fri Mar 06 13:26:35 2009 +0000 +++ b/src/mercurialserver/ruleset.py Fri Mar 06 13:30:37 2009 +0000 @@ -61,6 +61,9 @@ def set(self, **kw): self.preset.update(kw) + def get(self, k): + return self.preset.get(k, None) + def matchrule(self, kw): d = self.preset.copy() d.update(kw)