Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 496326 Details for
Bug 631946
dev-python/rtslib-fb-2.1.62: Attempting to create pscsi cdrom lun causes index out of range error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix issue
target.patch (text/plain), 644 bytes, created by
rkuchiki
on 2017-09-24 21:14:22 UTC
(
hide
)
Description:
patch to fix issue
Filename:
MIME Type:
Creator:
rkuchiki
Created:
2017-09-24 21:14:22 UTC
Size:
644 bytes
patch
obsolete
>--- target.py.orig 2017-09-24 17:11:33.972837806 -0400 >+++ target.py.new 2017-09-24 17:12:22.540836099 -0400 >@@ -586,8 +586,14 @@ > self._check_self() > > path = "%s/alua_tg_pt_gp" % self.path >- group_name = fread(path).splitlines()[0] >- return group_name.split(':')[1].strip() >+ try: >+ info = fread(path) >+ if not info: >+ return None >+ group_line = info.splitlines()[0] >+ return group_line.split(':')[1].strip() >+ except IOError as e: >+ return None > > def _set_alua_tg_pt_gp_name(self, group_name): > self._check_self()
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 631946
:
496310
| 496326