projects
/
wiki.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Edit page MedicalRecords
[wiki.git]
/
sys
/
macros
/
HttpPost.py
1
#acl bernie:read,write All:read
2
3
def _macro_HttpPost(*args, **kvargs):
4
if args[1] in form:
5
return form[argv[1]].value
6
elif len(args) > 2:
7
return args[2] # default value
8
raise Exception("Undefined argument " + args[1])