From: Adam Sampson Date: Fri, 30 Jan 2009 10:02:16 +0000 (+0000) Subject: Fix some typos. X-Git-Tag: v2.12rc3 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=54592fa4d3889b68ad04c26c4fa00525ccdba5a7;p=rawdog%2F.git Fix some typos. --- diff --git a/rawdoglib/rawdog.py b/rawdoglib/rawdog.py index 5226441..cf1a40f 100644 --- a/rawdoglib/rawdog.py +++ b/rawdoglib/rawdog.py @@ -626,12 +626,12 @@ def parse_feed_args(argparams, arglines): """Parse a list of feed arguments. Raise ConfigError if the syntax is invalid.""" args = {} for p in argparams: - ps = a.split("=", 1) + ps = p.split("=", 1) if len(ps) != 2: raise ConfigError("Bad feed argument in config: " + p) args[ps[0]] = ps[1] for p in arglines: - ps = a.split(None, 1) + ps = p.split(None, 1) if len(ps) != 2: raise ConfigError("Bad argument line in config: " + p) args[ps[0]] = ps[1]