From a4f9c94e6b3f2aadfbcc9ecd24dbf775f7a99f0e Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 17 Sep 2007 04:02:46 +0000 Subject: Get "list" action working. svn path=/scripts/rpki/left_right.py; revision=980 --- scripts/rpki/left_right.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/rpki/left_right.py') diff --git a/scripts/rpki/left_right.py b/scripts/rpki/left_right.py index 18923b3a..5a5b848e 100644 --- a/scripts/rpki/left_right.py +++ b/scripts/rpki/left_right.py @@ -179,7 +179,7 @@ class parent_elt(data_elt): def toXML(self): """Generate element.""" elt = self.make_elt() - if self.peer_ta: + if self.peer_ta and not self.peer_ta.empty(): self.make_b64elt(elt, "peer_ta", self.peer_ta.get_DER()) return elt -- cgit v1.2.3