Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous minor fixes #201

Merged
merged 5 commits into from
Jan 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ that is provided, the better.

**Description of the changes being introduced by the pull request**:

**Please verify and check that the pull request fulfills the following
**Please verify and check that the pull request fulfils the following
requirements**:

- [ ] The code follows the [Code Style Guidelines](https://github.com/secure-systems-lab/code-style-guidelines#code-style-guidelines)
Expand Down
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ matrix:
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.7"
env: TOXENV=py37
- python: "3.8"
env: TOXENV=py38

install:
- pip install -U tox coveralls
Expand Down
13 changes: 0 additions & 13 deletions securesystemslib/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,6 @@ class UnsupportedLibraryError(Error):
pass


# TODO: Consider removal alongside the compression functions.
class DecompressionError(Error):
"""Indicate that some error happened while decompressing a file."""

def __init__(self, exception):
# Store the original exception.
self.exception = exception

def __str__(self):
# Show the original exception.
return repr(self.exception)


class InvalidNameError(Error):
"""Indicate an error while trying to validate any type of named object."""
pass
Expand Down
1 change: 0 additions & 1 deletion tests/test_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
else:
import mock

import securesystemslib.formats
import securesystemslib.formats
import securesystemslib.hash
import securesystemslib.interface as interface
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py27, py35, py36
envlist = py27, py35, py36, py37, py38
skipsdist = True

[testenv]
Expand Down