commit 6121b3b37d06a24c980e63965e5545c1f182273a parent e91c10eaff7f8a1877915f68f718aa3d71934598 Author: uriel@engel.se.cat-v.org <unknown> Date: Fri, 9 Jan 2009 02:03:36 +0100 Delete some debug code in a function that is not used yet. Diffstat:
M | bin/cgilib.rc | | | 9 | ++------- |
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/bin/cgilib.rc b/bin/cgilib.rc @@ -267,13 +267,8 @@ fn app_handler { ################################## # Meta-data extract -fn get_var { - if(! ~ $#* 2) { - status='ERROR: wrong get_var args >>' $* '<< instead of: get_var file-name var-name' - dprint $status - } - if not - sed -n '/^\* '$2': /p; /^\* '$2': /q; /^$/q' < $1 +fn get_md_file_attr { + sed -n '/^\* '$2': /p; /^\* '$2': /q; /^$/q' < $1 } #app_blog_methods = ( _post index.rss )