Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 179862 Details for
Bug 256491
[PATCH] net-news/rawdog-2.11 breaks with Python 2.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for Python 2.6 support
rawdog-python-26.patch (text/plain), 833 bytes, created by
Ravi Pinjala
on 2009-01-27 07:39:12 UTC
(
hide
)
Description:
Patch for Python 2.6 support
Filename:
MIME Type:
Creator:
Ravi Pinjala
Created:
2009-01-27 07:39:12 UTC
Size:
833 bytes
patch
obsolete
>diff -Naur rawdog-2.11_orig/rawdoglib/rawdog.py rawdog-2.11/rawdoglib/rawdog.py >--- rawdoglib/rawdog.py 2008-02-23 16:11:07.000000000 -0600 >+++ rawdoglib/rawdog.py 2009-01-27 01:18:21.000000000 -0600 >@@ -587,15 +587,15 @@ > """Parse a list of feed arguments. Raise ConfigError if the syntax is invalid.""" > args = {} > for a in argparams: >- as = a.split("=", 1) >- if len(as) != 2: >+ az = a.split("=", 1) >+ if len(az) != 2: > raise ConfigError("Bad feed argument in config: " + a) >- args[as[0]] = as[1] >+ args[az[0]] = az[1] > for a in arglines: >- as = a.split(None, 1) >- if len(as) != 2: >+ az = a.split(None, 1) >+ if len(az) != 2: > raise ConfigError("Bad argument line in config: " + a) >- args[as[0]] = as[1] >+ args[az[0]] = az[1] > if "maxage" in args: > args["maxage"] = parse_time(args["maxage"]) > return args
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 256491
:
179862
|
179863