aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/gui/app/glue.py
diff options
context:
space:
mode:
authorMichael Elkins <melkins@tislabs.com>2012-11-23 20:46:48 +0000
committerMichael Elkins <melkins@tislabs.com>2012-11-23 20:46:48 +0000
commitef73580b0ae05f471a3b52f2109c7da21b999383 (patch)
tree27d3da2df65b8f6fda096c3acb964c81b61c4024 /rpkid/rpki/gui/app/glue.py
parent3856083455610e40a0ab83cbcfb49764fc9ba753 (diff)
snapshot of work in progress
svn path=/branches/tk329/; revision=4898
Diffstat (limited to 'rpkid/rpki/gui/app/glue.py')
-rw-r--r--rpkid/rpki/gui/app/glue.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpkid/rpki/gui/app/glue.py b/rpkid/rpki/gui/app/glue.py
index b50bc557..cad48147 100644
--- a/rpkid/rpki/gui/app/glue.py
+++ b/rpkid/rpki/gui/app/glue.py
@@ -109,6 +109,7 @@ def list_received_resources(log, conf):
else:
print >>log, "error: unexpected pdu from rpkid type=%s" % type(pdu)
+
def str_to_resource_range(prefix):
try:
r = resource_range_ipv4.parse_str(prefix)
@@ -116,6 +117,7 @@ def str_to_resource_range(prefix):
r = resource_range_ipv6.parse_str(prefix)
return r
+
def get_email_list(conf):
"""Return a list of the contact emails for this user.