aboutsummaryrefslogtreecommitdiffstats
path: root/docs/index.rst
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2018-05-27 09:10:12 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-06-20 18:01:21 +0100
commit464b26e42bee5cbade7b0df0b93aea7d26078a92 (patch)
treee3c2c92ac0cfaa30cb81254440e01dc8d1b854d1 /docs/index.rst
parent5ebe80605ead91b448a4731881d618ed334c6e77 (diff)
downloadsos-464b26e42bee5cbade7b0df0b93aea7d26078a92.tar.gz
[sos] replace hard-coded format tuple with list comprehension
Instead of hard-coding a tuple for every member of SoSOptions (% (self.foo, self.bar, ...)), use a list comprehension on the existing _arg_names list to obtain the attribute values via getattr(). This avoids the need to maintain the tuple manually as options are added or removed. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'docs/index.rst')
0 files changed, 0 insertions, 0 deletions