From 01f30de176227073aaca94b2fbd3144558b0494e Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Wed, 24 Jul 2019 09:20:49 +0200 Subject: [PATCH] remove vestigial python2 references --- docs/contributing.rst | 2 +- overviewer_core/progressbar.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contributing.rst b/docs/contributing.rst index 7123351..f27f7c6 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -165,7 +165,7 @@ to stick to PEP8_ when writing new code. If you're refactoring old code, it would be great if you were to fix it to make it PEP8 compliant as well. To check whether the code is PEP8 compliant, you can use pycodestyle_. You can -easily install it with pip by using ``pip2 install pycodestyle``. +easily install it with pip by using ``pip3 install pycodestyle``. .. _PEP8: https://www.python.org/dev/peps/pep-0008/ .. _pycodestyle: https://pypi.python.org/pypi/pycodestyle diff --git a/overviewer_core/progressbar.py b/overviewer_core/progressbar.py index 4e0305c..c06ceed 100644 --- a/overviewer_core/progressbar.py +++ b/overviewer_core/progressbar.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python3 # -*- coding: iso-8859-1 -*- # # progressbar - Text progressbar library for python.