Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 201940 Details for
Bug 282318
non-existent/poor handling of NoneType objects in python-2.6 os.path.join()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
os.path.join() fix
python-2.6-posixpath.patch (text/plain), 355 bytes, created by
Brian Dolbec (RETIRED)
on 2009-08-22 16:33:15 UTC
(
hide
)
Description:
os.path.join() fix
Filename:
MIME Type:
Creator:
Brian Dolbec (RETIRED)
Created:
2009-08-22 16:33:15 UTC
Size:
355 bytes
patch
obsolete
>--- /root/posixpath.py 2009-08-22 09:05:09.000000000 -0700 >+++ /usr/lib64/python2.6/posixpath.py 2009-08-22 09:00:52.000000000 -0700 >@@ -62,6 +62,8 @@ > will be discarded.""" > path = a > for b in p: >+ if b == None: >+ continue > if b.startswith('/'): > path = b > elif path == '' or path.endswith('/'):
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 282318
: 201940 |
201941