From 633a222f72c2818ade32bc8d06c069fc675c88f3 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 29 Feb 2016 14:35:39 +0000 Subject: Doh, "session_id", not "uuid". svn path=/branches/tk705/; revision=6302 --- rp/rcynic/rcynicng | 4 ++-- 1 file 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( -- cgit v1.2.3