diff mbox series

[hooks-bin] Port email_to.py to Python3.

Message ID 50c0dfff-ff88-f928-9e7a-442709feeafc@suse.cz
State New
Headers show
Series [hooks-bin] Port email_to.py to Python3. | expand

Commit Message

Martin Liška Jan. 3, 2022, 10:02 a.m. UTC
The patch ports the script to Python3.

Tested with:

$ echo "libstdc++-v3/xx" | ./email_to.py
gcc-cvs@gcc.gnu.org
libstdc++-cvs@gcc.gnu.org

May I install it?
Thanks,
Martin

---
  email_to.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joseph Myers Jan. 4, 2022, 9:20 p.m. UTC | #1
On Mon, 3 Jan 2022, Martin Liška wrote:

> The patch ports the script to Python3.
> 
> Tested with:
> 
> $ echo "libstdc++-v3/xx" | ./email_to.py
> gcc-cvs@gcc.gnu.org
> libstdc++-cvs@gcc.gnu.org
> 
> May I install it?

OK.
Martin Liška Jan. 5, 2022, 8:40 a.m. UTC | #2
On 1/4/22 22:20, Joseph Myers wrote:
> On Mon, 3 Jan 2022, Martin Liška wrote:
> 
>> The patch ports the script to Python3.
>>
>> Tested with:
>>
>> $ echo "libstdc++-v3/xx" | ./email_to.py
>> gcc-cvs@gcc.gnu.org
>> libstdc++-cvs@gcc.gnu.org
>>
>> May I install it?
> 
> OK.


Please install it, apparently I can't push commits there:

git push origin master
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 16 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 304 bytes | 304.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
error: remote unpack failed: unable to create temporary object directory
To gcc.gnu.org:/home/gccadmin/hooks-bin
  ! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to 'gcc.gnu.org:/home/gccadmin/hooks-bin'

Martin
Joseph Myers Jan. 5, 2022, 9:02 p.m. UTC | #3
On Wed, 5 Jan 2022, Martin Liška wrote:

> Please install it, apparently I can't push commits there:

Done.
diff mbox series

Patch

diff --git a/email_to.py b/email_to.py
index 073b713..f47120c 100755
--- a/email_to.py
+++ b/email_to.py
@@ -1,4 +1,4 @@ 
-#! /usr/bin/env python
+#! /usr/bin/env python3
  
  import sys