From 315ae98e9384339af5d98e1401e9115b7e0c85ed Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 17 May 2017 21:18:25 +0200 Subject: [PATCH] TASK: Fix pep8 line length --- rplugin/python3/neotags.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rplugin/python3/neotags.py b/rplugin/python3/neotags.py index b423cba..72784a6 100644 --- a/rplugin/python3/neotags.py +++ b/rplugin/python3/neotags.py @@ -34,7 +34,8 @@ class NeotagsPlugin(object): self.log('No tags file found') def strip_existing_tags(self): - with fileinput.input(files=self.get_tags_file(), inplace=True, backup='.bak') as f: + tags_f = self.get_tags_file() + with fileinput.input(files=tags_f, inplace=True, backup='.bak') as f: for line in f: if self.relative_filename not in line: sys.stdout.write(line)