Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 555724 Details for
Bug 671522
app-misc/pax-utils: lddtree is broken with Python 3.7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix
0001-lddtree.py-use-errno-properly.patch (text/plain), 876 bytes, created by
Oleksandr Natalenko
on 2018-11-19 16:50:02 UTC
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Oleksandr Natalenko
Created:
2018-11-19 16:50:02 UTC
Size:
876 bytes
patch
obsolete
>From 966d43399ecd2b0b5a7b27223e73826a59e7c34b Mon Sep 17 00:00:00 2001 >From: Oleksandr Natalenko <oleksandr@natalenko.name> >Date: Sat, 17 Nov 2018 15:43:09 +0100 >Subject: [PATCH] lddtree.py: use errno properly > >os.errno interface is removed [1], thus should not be used. In fact, it >is not used in other places of lddtree.py, so fix this one too, because >it breaks --copy-to-tree on systems with Python 3.7. > >[1] https://bugs.python.org/issue33666 > >Signed-off-by: Oleksandr Natalenko <oleksandr@natalenko.name> >--- > lddtree.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/lddtree.py b/lddtree.py >index 2bfaaae..66f5e01 100755 >--- a/lddtree.py >+++ b/lddtree.py >@@ -122,7 +122,7 @@ def makedirs(path): > try: > os.makedirs(path) > except OSError as e: >- if e.errno != os.errno.EEXIST: >+ if e.errno != errno.EEXIST: > raise > > >-- >2.19.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 671522
: 555724