diff options
author | Rob Austein <sra@hactrn.net> | 2016-02-29 14:35:39 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-02-29 14:35:39 +0000 |
commit | 633a222f72c2818ade32bc8d06c069fc675c88f3 (patch) | |
tree | b25a1d9663e7883570a765da574b15f55d419e94 | |
parent | e7dfeab932db2c3148a31e635bd01607df1fca80 (diff) |
Doh, "session_id", not "uuid".
svn path=/branches/tk705/; revision=6302
-rwxr-xr-x | rp/rcynic/rcynicng | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rp/rcynic/rcynicng b/rp/rcynic/rcynicng index e645594b..4dc0c5f9 100755 --- a/rp/rcynic/rcynicng +++ b/rp/rcynic/rcynicng @@ -1091,7 +1091,7 @@ class Fetcher(object): root = node.getparent() if root is None or root.tag != tag_snapshot \ or root.get("version") != "1" \ - or any(a not in ("version", "uuid", "serial") for a in root.attrib): + or any(a not in ("version", "session_id", "serial") for a in root.attrib): raise RRDP_ParseFailure("{} doesn't look like an RRDP snapshot file".format(url)) if root.get("session_id") != session_id: raise RRDP_ParseFailure("Expected RRDP session_id {} for {}, got {}".format( @@ -1175,7 +1175,7 @@ class Fetcher(object): root = node.getparent() if root is None or root.tag != tag_delta \ or root.get("version") != "1" \ - or any(a not in ("version", "uuid", "serial") for a in root.attrib): + or any(a not in ("version", "session_id", "serial") for a in root.attrib): raise RRDP_ParseFailure("{} doesn't look like an RRDP delta file".format(url)) if root.get("session_id") != session_id: raise RRDP_ParseFailure("Expected RRDP session_id {} for {}, got {}".format( |