aboutsummaryrefslogtreecommitdiff
path: root/rpkid/irbe-cli.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2008-05-21 00:30:38 +0000
committerRob Austein <sra@hactrn.net>2008-05-21 00:30:38 +0000
commit5e87546f81d2fbd27f797a1ea97e70d71be39bd4 (patch)
treec62c5e23e9c47a3a8f5c6eef74bb184740aa1594 /rpkid/irbe-cli.py
parent8ba1be0fc4f98ec1b83152d2f9dffe39be118121 (diff)
Move left-right "type" attribute to <msg/> element because fixing this
is easier than explaining why it was broken. svn path=/rpkid/irbe-cli.py; revision=1804
Diffstat (limited to 'rpkid/irbe-cli.py')
-rwxr-xr-xrpkid/irbe-cli.py6
1 files changed, 1 insertions, 5 deletions
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:
id='n156' href='#n156'>156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192