aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2017-03-27 13:19:37 +0100
committerBryn M. Reeves <bmr@redhat.com>2017-03-27 13:23:20 +0100
commit3ae6267399e77bed7d15ac32564dde21ea877ad1 (patch)
tree831558cd17c3b1f08beb7400718adee84eaa4e83 /tests
parent4f7ea5d46f7531e8fdb8a58738a747f79a9c4841 (diff)
downloadsos-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 'tests')
0 files changed, 0 insertions, 0 deletions