diff options
Diffstat (limited to 'buildbot-utils.el')
| -rw-r--r-- | buildbot-utils.el | 10 | 
1 files changed, 6 insertions, 4 deletions
diff --git a/buildbot-utils.el b/buildbot-utils.el index f28ab75..538844e 100644 --- a/buildbot-utils.el +++ b/buildbot-utils.el @@ -97,10 +97,12 @@ With non-nil WITH-HEADER, include the header in the result."  (defun buildbot-format-attr (attr)    "Format an alist ATTR into a url query string." -  (string-join (mapcar (lambda (pair) -                         (format "%s=%s" (car pair) (cdr pair))) -                       attr) -               "&")) +  (string-join +   (mapcar +    (lambda (pair) +      (format "%s=%s" (car pair) (cdr pair))) +    (seq-filter #'cdr attr)) +   "&"))  (defun buildbot-format-epoch-time (epoch)    "Format an EPOCH."  | 
