aboutsummaryrefslogtreecommitdiff
path: root/rpkid/irbe_cli.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2010-11-14 23:28:45 +0000
committerRob Austein <sra@hactrn.net>2010-11-14 23:28:45 +0000
commitce422aa2ffd9061d272068848f13c1869f3e508b (patch)
tree51a2453bfa34d6fb308e7858a49ed110f7b0a6e5 /rpkid/irbe_cli.py
parent5ff190d75abcad8aa6e2d04889c218caf147b352 (diff)
Implement "reissue" left-right operation. Reformat some doc strings.
svn path=/rpkid/irbe_cli.py; revision=3551
Diffstat (limited to 'rpkid/irbe_cli.py')
-rw-r--r--rpkid/irbe_cli.py24
1 files changed, 18 insertions, 6 deletions
diff --git a/rpkid/irbe_cli.py b/rpkid/irbe_cli.py
index ccd9ea7f..36f03421 100644
--- a/rpkid/irbe_cli.py
+++ b/rpkid/irbe_cli.py
@@ -44,7 +44,9 @@ class UsageWrapper(textwrap.TextWrapper):
"""
def __call__(self, *args):
- """Format arguments, with TextWrapper indentation."""
+ """
+ Format arguments, with TextWrapper indentation.
+ """
return self.fill(textwrap.dedent(" ".join(args)))
usage_fill = UsageWrapper(subsequent_indent = " " * 4)
@@ -107,19 +109,27 @@ class cmd_elt_mixin(reply_elt_mixin):
return argv
def client_query_bpki_cert(self, arg):
- """Special handler for --bpki_cert option."""
+ """
+ Special handler for --bpki_cert option.
+ """
self.bpki_cert = rpki.x509.X509(Auto_file = arg)
def client_query_glue(self, arg):
- """Special handler for --bpki_glue option."""
+ """
+ Special handler for --bpki_glue option.
+ """
self.bpki_glue = rpki.x509.X509(Auto_file = arg)
def client_query_bpki_cms_cert(self, arg):
- """Special handler for --bpki_cms_cert option."""
+ """
+ Special handler for --bpki_cms_cert option.
+ """
self.bpki_cms_cert = rpki.x509.X509(Auto_file = arg)
def client_query_cms_glue(self, arg):
- """Special handler for --bpki_cms_glue option."""
+ """
+ Special handler for --bpki_cms_glue option.
+ """
self.bpki_cms_glue = rpki.x509.X509(Auto_file = arg)
class cmd_msg_mixin(object):
@@ -194,7 +204,9 @@ class left_right_cms_msg(rpki.left_right.cms_msg):
class config_elt(cmd_elt_mixin, rpki.publication.config_elt):
def client_query_bpki_crl(self, arg):
- """Special handler for --bpki_crl option."""
+ """
+ Special handler for --bpki_crl option.
+ """
self.bpki_crl = rpki.x509.CRL(Auto_file = arg)
class client_elt(cmd_elt_mixin, rpki.publication.client_elt):