From 5e87546f81d2fbd27f797a1ea97e70d71be39bd4 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 21 May 2008 00:30:38 +0000 Subject: Move left-right "type" attribute to element because fixing this is easier than explaining why it was broken. svn path=/rpkid/irbe-cli.py; revision=1804 --- rpkid/irbe-cli.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'rpkid/irbe-cli.py') diff --git a/rpkid/irbe-cli.py b/rpkid/irbe-cli.py index bb535ebb..76e246e2 100755 --- a/rpkid/irbe-cli.py +++ b/rpkid/irbe-cli.py @@ -43,11 +43,6 @@ class cmd_mixin(object): setattr(self, o, a) return argv - def client_query_action(self, arg): - """Special handler for --action option.""" - self.action = arg - self.type = "query" - def client_query_bpki_cert(self, arg): """Special handler for --bpki_cert option.""" self.bpki_cert = rpki.x509.X509(Auto_file=arg) @@ -183,6 +178,7 @@ irbe_key = rpki.x509.RSA( Auto_file = cfg.get("irbe-key")) https_url = cfg.get("https-url") q_msg = rpki.left_right.msg() +q_msg.type = "query" while argv: try: -- cgit v1.2.3