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

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

bug#52827: closed ([PATCH] build/python: Improve error output in sanity


From: GNU bug Tracking System
Subject: bug#52827: closed ([PATCH] build/python: Improve error output in sanity check.)
Date: Sat, 15 Jan 2022 20:44:01 +0000

Your message dated Sat, 15 Jan 2022 21:43:39 +0100
with message-id <3f53f662-b88e-ab8d-be0e-bdb3a872e631@crazy-compilers.com>
and subject line Re: [PATCH] build/python: Improve error output in sanity check.
has caused the debbugs.gnu.org bug report #52827,
regarding [PATCH] build/python: Improve error output in sanity check.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
52827: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52827
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] build/python: Improve error output in sanity check. Date: Mon, 27 Dec 2021 19:21:16 +0100
Instead of printing the "str()" representation of the excaption, print the
"repr()" representation. This will print the name of the exception and thus
ease understanding the actual error.
---
 gnu/packages/aux-files/python/sanity-check.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/aux-files/python/sanity-check.py 
b/gnu/packages/aux-files/python/sanity-check.py
index a84f8f03c0..182133bb3d 100644
--- a/gnu/packages/aux-files/python/sanity-check.py
+++ b/gnu/packages/aux-files/python/sanity-check.py
@@ -44,7 +44,7 @@ for dist in ws:
         pkg_resources.require(req)
         print('OK')
     except Exception as e:
-        print('ERROR:', req, e)
+        print('ERROR:', req, repr(e))
         ret = 1
         continue
 
-- 
2.30.2




--- End Message ---
--- Begin Message --- Subject: Re: [PATCH] build/python: Improve error output in sanity check. Date: Sat, 15 Jan 2022 21:43:39 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1
Pushed to core-updates as fab871ae7a51f0e705eb4cc8ffffe1a0822e259f

--
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



--- End Message ---

reply via email to

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