~smoser/ssh-import-id:fix/pylint-warn-and-update

Last commit made on 2020-02-28
Get this branch:
git clone -b fix/pylint-warn-and-update https://git.launchpad.net/~smoser/ssh-import-id
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Branch information

Name:
fix/pylint-warn-and-update
Repository:
lp:~smoser/ssh-import-id

Recent commits

5e0482e... by Scott Moser

Update tox to current versions of pycodestyle (2.5.0) and pylint (2.4.4).

Just update the tox environment to current versions of these tools.

8ec8a7c... by Scott Moser

Fix pylint warnings.

This fixes warnings for import order and also 'unnecessary else'
that come in with newer pylint.

e0cc3ce... by Scott Moser

Release 5.10

2e6eba0... by Scott Moser

Fix error due to local variable masking import name.

The fix is simple, just use a different name.
   distro = "/".join(distro.linux_distribution())

Caused the variable 'distro' to be referenced before use.

LP: #1865171

bb7bf86... by Scott Moser

Release 5.9

9b01c13... by Dave Jones

Use distro instead of platform

The platform.dist function was deprecated in Python 3.5 and has been
removed from Python 3.8 (which will cause ssh-import-id to fail in
focal). The suggested replacement is the linux_distribution function in
the distro package (already packaged as python3-distro in Ubuntu).

LP: #1864107

6b90b13... by Scott Moser

Release 5.8.

 * Update debian/changelog with changelog entries.
 * update ssh_import_id/version.py with new _LAST_RELEASE

da9db85... by Dustin Kirkland 

setup.py: Update long description content type in order to upload to pypi.

Version of ssh-import-id in pypi fails to install with:
  import requests ModuleNotFoundError: No module named 'requests'

More info in LP: #1861753.

4551223... by Scott Moser

debian/control: Update vcs fields after move to git.

The debian/control Vcs-Browser and Vcs-git have not been updated
after moving to git on launchpad. They still pointed to bzr locations.

4001a38... by Scott Moser

debian/postinst: Correctly check old version.

The postinst check for version was not working properly, as it
referenced an un-defined variable.