From: Fredrik Tolf Date: Wed, 12 Nov 2008 03:43:38 +0000 (+0100) Subject: Added comment syntax to hubmgr's hublist file. X-Git-Url: http://dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=cac2915d81f71d6f778a80c40216e48129b444df Added comment syntax to hubmgr's hublist file. --- diff --git a/lib/guile/hubmgr b/lib/guile/hubmgr index ea7e474..e14044d 100755 --- a/lib/guile/hubmgr +++ b/lib/guile/hubmgr @@ -57,7 +57,8 @@ (begin (close-port p) lines) (read-lines (let ((lexed (dc-lexsexpr line))) - (if (> (length lexed) 0) + (if (and (> (length lexed) 0) + (not (eq? (string-ref (car lexed) 0) #\#))) (append lines (list lexed)) lines)) p)))))) (catch 'system-error