diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-03-27 21:06:24 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-03-27 21:06:24 +0000 |
commit | 0bedab23f3eb86878d894419614e1728c395a84e (patch) | |
tree | 28438a083a481a2e382af7a2aab032cae8e48356 /example_plugins | |
parent | c613b172a44c98f40919c763eb4bf088476cbefa (diff) | |
download | sos-0bedab23f3eb86878d894419614e1728c395a84e.tar.gz |
Raise a TypeError if add_copy_specs() is called with a string
Since strings are iterable a plugin attempting to call
add_copy_specs("/something") results in a plugin calling
add_copy_spec("/"). Raise a TypeError if this happens.
Fixes Issue #141.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'example_plugins')
0 files changed, 0 insertions, 0 deletions