emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38852: closed ([PATCH] gnu: python-py3status: Fix patch of file path


From: GNU bug Tracking System
Subject: bug#38852: closed ([PATCH] gnu: python-py3status: Fix patch of file path)
Date: Mon, 06 Jan 2020 14:36:01 +0000

Your message dated Mon, 06 Jan 2020 15:35:41 +0100
with message-id <address@hidden>
and subject line Re: [bug#38852] [PATCH] gnu: python-py3status: Fix patch of 
file path
has caused the debbugs.gnu.org bug report #38852,
regarding [PATCH] gnu: python-py3status: Fix patch of file path
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
38852: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38852
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: python-py3status: Fix patch of file path Date: Wed, 1 Jan 2020 19:43:49 +0100
* gnu/packages/python-xyz.scm (python-py3status): Fix patch of file
  path.
  [arguments]: Replace single-quotes with double-quotes so that the
  regex matches again. The "replace-with" value is not changed as it's
  not necessary and would introduce escaping noise.
---
 gnu/packages/python-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9b71982c3a..7001c69762 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9908,7 +9908,7 @@ to occurrences in strings and comments.")
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((file-path (assoc-ref inputs "file")))
                (substitute* "py3status/parse_config.py"
-                 (("\\['file', '-b'")
+                 (("\\[\"file\", \"-b\"")
                   (string-append "['" file-path "/bin/file', '-b'")))
                #t))))
        #:tests? #f)) ; TODO: Requires many libraries not in Guix.
-- 
2.24.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#38852] [PATCH] gnu: python-py3status: Fix patch of file path Date: Mon, 06 Jan 2020 15:35:41 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Hello,

Jakub Kądziołka <address@hidden> skribis:

> * gnu/packages/python-xyz.scm (python-py3status): Fix patch of file
>   path.
>   [arguments]: Replace single-quotes with double-quotes so that the
>   regex matches again. The "replace-with" value is not changed as it's
>   not necessary and would introduce escaping noise.

Good catch.  Applied, thanks!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]