From 31a97ef588ab575344153ba33e955955dd2a5087 Mon Sep 17 00:00:00 2001 From: Vincent A Date: Wed, 22 Feb 2017 23:21:39 +0100 Subject: [PATCH] fix pyflakes warnings in replace-backends-pass tool --- contrib/replace-backends-pass.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/replace-backends-pass.py b/contrib/replace-backends-pass.py index 8ed09e8981..b5d5f1dff0 100755 --- a/contrib/replace-backends-pass.py +++ b/contrib/replace-backends-pass.py @@ -18,6 +18,8 @@ password = `pass show weboob/bnporc21` """ +from __future__ import print_function + import os import re import shutil @@ -38,6 +40,7 @@ errors = 0 seen = set() +backend = None with open(FILE) as inp: with tempfile.NamedTemporaryFile('w', delete=False, dir=os.path.dirname(FILE)) as outp: for line in inp: -- GitLab