Method
__init__
(
self,
name,
argument_table,
exclusive_to='distribution-config',
help_text='',
)
Source from the content-addressed store, hash-verified
| 107 | DOC = '%s This argument and --%s are mutually exclusive.' |
| 108 | |
| 109 | def __init__( |
| 110 | self, |
| 111 | name, |
| 112 | argument_table, |
| 113 | exclusive_to='distribution-config', |
| 114 | help_text='', |
| 115 | ): |
| 116 | argument_table[exclusive_to].required = False |
| 117 | super(ExclusiveArgument, self).__init__( |
| 118 | name, help_text=self.DOC % (help_text, exclusive_to) |
| 119 | ) |
| 120 | |
| 121 | def distribution_config_template(self): |
| 122 | return { |
Callers
nothing calls this directly
Tested by
no test coverage detected