diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2017-03-27 13:19:37 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2017-03-27 13:23:20 +0100 |
commit | 3ae6267399e77bed7d15ac32564dde21ea877ad1 (patch) | |
tree | 831558cd17c3b1f08beb7400718adee84eaa4e83 /example_plugins | |
parent | 4f7ea5d46f7531e8fdb8a58738a747f79a9c4841 (diff) | |
download | sos-3ae6267399e77bed7d15ac32564dde21ea877ad1.tar.gz |
[archive] accept an open File for add_file()
Allow subclasses of FileCacheArchive to accept either a path to
a file to add, or an instance of an open File object, from whih
data will be read.
This will be used to covert logging FileHandler object to
StreamHandler objects, avoiding creating bogus '<fdopen>' paths
in the file system when the former are used with files that are
created with os.fdopen().
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'example_plugins')
0 files changed, 0 insertions, 0 deletions