projects
/
geekigeeki.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6bd5874475d02e9fb7099486c4ef84651aa8625a
[geekigeeki.git]
/
macros
/
HttpPost.py
1
def _macro_HttpPost(*args, *kvargs):
2
if args[1] in form:
3
return form[argv[1]].value
4
elif len(args) > 2:
5
return args[2] # default value
6
raise Exception("Undefined argument " + args[1])