aboutsummaryrefslogtreecommitdiff
path: root/rp
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-02-29 14:35:39 +0000
committerRob Austein <sra@hactrn.net>2016-02-29 14:35:39 +0000
commit633a222f72c2818ade32bc8d06c069fc675c88f3 (patch)
treeb25a1d9663e7883570a765da574b15f55d419e94 /rp
parente7dfeab932db2c3148a31e635bd01607df1fca80 (diff)
Doh, "session_id", not "uuid".
svn path=/branches/tk705/; revision=6302
Diffstat (limited to 'rp')
-rwxr-xr-xrp/rcynic/rcynicng4
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(