Commit 31a97ef5 authored by ntome's avatar ntome

fix pyflakes warnings in replace-backends-pass tool

parent 75f0d561
......@@ -18,6 +18,8 @@ login = 123456
password = `pass show weboob/bnporc21`
"""
from __future__ import print_function
import os
import re
import shutil
......@@ -38,6 +40,7 @@ if not shutil.which('pass'):
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment