Merge branch 'hotfix/fix-python-35-compatibility' into 'develop'

BUGFIX: Allow Python < 3.5 to work

See merge request !3
This commit is contained in:
Daniel Siepmann 2017-08-07 14:54:06 +00:00
commit 3b6676668b
3 changed files with 3 additions and 3 deletions

View file

@ -5,4 +5,4 @@ LABEL Description="This image should provide environment to lint neotags" Vendor
# Install dependencies # Install dependencies
RUN pip install --upgrade pip RUN pip install --upgrade pip
RUN pip install --no-cache-dir pep8 neovim pyfakefs RUN pip install --no-cache-dir pep8 neovim pyfakefs==3.1

View file

@ -44,7 +44,7 @@ Development
Install dependencies: Install dependencies:
- ``pip install pyfakefs`` - ``pip install pyfakefs==3.1``
Run tests: Run tests:

View file

@ -67,7 +67,7 @@ class NeotagsPlugin(object):
sys.stdout.write(line) sys.stdout.write(line)
def generate_tags(self, tags_file, filename): def generate_tags(self, tags_file, filename):
subprocess.run([ subprocess.call([
self.options['ctags_cmd'], self.options['ctags_cmd'],
'-f', '-f',
tags_file, tags_file,