replace list

master
Nathaniel Smith 2014-12-28 18:49:15 -08:00
parent f8feb2584f
commit 4401bdcc33
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@
(apply sorted [usernames] {"key" modify-time})) (apply sorted [usernames] {"key" modify-time}))
(defn user-generator [] (->> (listdir "/home") (defn user-generator [] (->> (listdir "/home")
(filter (fn [f] (and (not (= f "ubuntu")) (not (= f "poetry"))))))) (filter (fn [f] (and (not (= f "ubuntu")) (not (= f "poetry")))))
;list)) list))
(def user-list (->> (user-generator) (def user-list (->> (user-generator)
sort-user-list sort-user-list