commit d3f7c00fa6cf2573f30551589338e4d42d61465a Author: Damian Johnson atagar@torproject.org Date: Thu May 10 08:00:36 2012 -0700
Accepting additional args on extra-info line
Forgot that the spec says that extra arguments should be accepted and ignored. --- stem/descriptor/extrainfo_descriptor.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/stem/descriptor/extrainfo_descriptor.py b/stem/descriptor/extrainfo_descriptor.py index aa02bc9..b0d7864 100644 --- a/stem/descriptor/extrainfo_descriptor.py +++ b/stem/descriptor/extrainfo_descriptor.py @@ -263,7 +263,7 @@ class ExtraInfoDescriptor(stem.descriptor.Descriptor): # "extra-info" Nickname Fingerprint extra_info_comp = value.split()
- if len(extra_info_comp) != 2: + if len(extra_info_comp) < 2: if not validate: continue raise ValueError("Extra-info line must have two values: %s" % line)