aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-09-29 00:23:17 +0000
committerRob Austein <sra@hactrn.net>2009-09-29 00:23:17 +0000
commita95a30342c5533bf620833ad20ba70993cc34cf2 (patch)
treeebfb06aee69af34c3044c6f5225e4edc5fcff8cb
parent6113a59890ba4c56a56b921f6c3a1b0e6a7b0792 (diff)
Heh, forgot I had a mechanism already in place for excluding
particular XML attributes from the irbe_cli command line. svn path=/rpkid/irbe_cli.py; revision=2792
-rwxr-xr-xrpkid/irbe_cli.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/rpkid/irbe_cli.py b/rpkid/irbe_cli.py
index 6828b7b5..93f86fb8 100755
--- a/rpkid/irbe_cli.py
+++ b/rpkid/irbe_cli.py
@@ -111,9 +111,7 @@ class cmd_elt_mixin(reply_elt_mixin):
## @var excludes
# XML attributes and elements that should not be allowed as command
- # line arguments. At the moment the only such is the
- # bsc.pkcs10_request sub-element, but writing this generally is no
- # harder than handling that one special case.
+ # line arguments.
excludes = ()
@classmethod
@@ -217,7 +215,8 @@ class repository_elt(cmd_elt_mixin, rpki.left_right.repository_elt):
pass
class list_published_objects_elt(cmd_elt_mixin, rpki.left_right.list_published_objects_elt):
- pass
+
+ excludes = ("uri",)
class report_error_elt(reply_elt_mixin, rpki.left_right.report_error_elt):
pass