From 7741c464e003de2f5232e93f66f61039c32a0b45 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 17 Dec 2019 16:02:22 -0600 Subject: [PATCH] ragweed/framework: open() not file() Signed-off-by: Sage Weil --- ragweed/framework.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ragweed/framework.py b/ragweed/framework.py index 233c57e..802f9dd 100644 --- a/ragweed/framework.py +++ b/ragweed/framework.py @@ -386,7 +386,7 @@ class RagweedEnv: 'To run tests, point environment ' + 'variable RAGWEED_CONF to a config file.', ) - with file(path) as f: + with open(path, 'r') as f: cfg.readfp(f) for section in cfg.sections(): -- 2.47.3