validation...

--HG--
branch : pmacs2
This commit is contained in:
moculus 2008-05-19 02:05:29 +00:00
parent 1a7ddfc0d1
commit c2c74a455c
1 changed files with 3 additions and 0 deletions

View File

@ -41,3 +41,6 @@ def path_dirname(window):
# default callback builders
def build_constant(c):
return lambda w: c
def build_mode_var(name):
return lambda w: hasattr(w.mode, name) and getattr(w.mode, name) or ''