Work on making the lists more 2.xx-like.
This commit is contained in:
parent
d802cf13c8
commit
aaa6e582a4
4 changed files with 44 additions and 42 deletions
|
@ -35,6 +35,7 @@
|
|||
(import scheme
|
||||
(chicken string)
|
||||
(chicken sort)
|
||||
(chicken format)
|
||||
configuration
|
||||
util-io)
|
||||
|
||||
|
@ -51,12 +52,14 @@
|
|||
|
||||
;; Returns the list of available lists
|
||||
(define (list-mailman3-lists)
|
||||
(get-mailman3-output-lines "lists -q"))
|
||||
(get-mailman3-output-lines "lists" "-q"))
|
||||
|
||||
;; Returns the list of members of given list
|
||||
(define (list-mailman3-list-members lst)
|
||||
(sort
|
||||
(get-mailman3-output-lines "members" lst "-e")
|
||||
(get-mailman3-output-lines "members"
|
||||
(format "~A@brmlab.cz" lst)
|
||||
"-e")
|
||||
string-ci<?))
|
||||
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue