Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 97381 Details for
Bug 148148
pybugz: don't die when len(columns) != len(row)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0.6.11-allow-unequal-columns-and-row.patch
0.6.11-allow-unequal-columns-and-row.patch (text/plain), 455 bytes, created by
Donnie Berkholz (RETIRED)
on 2006-09-18 20:57:13 UTC
(
hide
)
Description:
0.6.11-allow-unequal-columns-and-row.patch
Filename:
MIME Type:
Creator:
Donnie Berkholz (RETIRED)
Created:
2006-09-18 20:57:13 UTC
Size:
455 bytes
patch
obsolete
>--- pybugz-0.6.11/bugz.py 2006-09-02 05:35:37.000000000 -0700 >+++ /usr/lib/python2.4/site-packages/bugz.py 2006-09-18 20:53:16.000000000 -0700 >@@ -752,7 +756,7 @@ > for row in csv.reader(resp): > fields = {} > columns = config.choices['columns'] >- for i in range(len(row)): >+ for i in range(min(len(row), len(columns))): > fields[columns[i]] = row[i] > results.append(fields) >
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 148148
: 97381