diff options
| author | georg | 2019-11-28 02:15:20 +0000 |
|---|---|---|
| committer | jvoisin | 2019-11-30 01:14:41 -0800 |
| commit | 697cb36b814d7e01da336c43b1932264302a2528 (patch) | |
| tree | c14075024469adf5aa30614c95173cada156229c /libmat2 | |
| parent | 6e52661cfb4e79a76a6ff80637d5adf495a15479 (diff) | |
This is mat2, not MAT2
Closes #131
Diffstat (limited to 'libmat2')
| -rw-r--r-- | libmat2/archive.py | 2 | ||||
| -rw-r--r-- | libmat2/pdf.py | 2 | ||||
| -rw-r--r-- | libmat2/torrent.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libmat2/archive.py b/libmat2/archive.py index e715fb1..de80a35 100644 --- a/libmat2/archive.py +++ b/libmat2/archive.py | |||
| @@ -52,7 +52,7 @@ class ArchiveBasedAbstractParser(abstract.AbstractParser): | |||
| 52 | self.member_class = None # type: ignore | 52 | self.member_class = None # type: ignore |
| 53 | 53 | ||
| 54 | # Those are the files that have a format that _isn't_ | 54 | # Those are the files that have a format that _isn't_ |
| 55 | # supported by MAT2, but that we want to keep anyway. | 55 | # supported by mat2, but that we want to keep anyway. |
| 56 | self.files_to_keep = set() # type: Set[Pattern] | 56 | self.files_to_keep = set() # type: Set[Pattern] |
| 57 | 57 | ||
| 58 | # Those are the files that we _do not_ want to keep, | 58 | # Those are the files that we _do not_ want to keep, |
diff --git a/libmat2/pdf.py b/libmat2/pdf.py index b9f7c99..547e071 100644 --- a/libmat2/pdf.py +++ b/libmat2/pdf.py | |||
| @@ -19,7 +19,7 @@ from . import abstract | |||
| 19 | 19 | ||
| 20 | poppler_version = Poppler.get_version() | 20 | poppler_version = Poppler.get_version() |
| 21 | if LooseVersion(poppler_version) < LooseVersion('0.46'): # pragma: no cover | 21 | if LooseVersion(poppler_version) < LooseVersion('0.46'): # pragma: no cover |
| 22 | raise ValueError("MAT2 needs at least Poppler version 0.46 to work. \ | 22 | raise ValueError("mat2 needs at least Poppler version 0.46 to work. \ |
| 23 | The installed version is %s." % poppler_version) # pragma: no cover | 23 | The installed version is %s." % poppler_version) # pragma: no cover |
| 24 | 24 | ||
| 25 | 25 | ||
diff --git a/libmat2/torrent.py b/libmat2/torrent.py index e2c82b7..1a82740 100644 --- a/libmat2/torrent.py +++ b/libmat2/torrent.py | |||
| @@ -36,7 +36,7 @@ class TorrentParser(abstract.AbstractParser): | |||
| 36 | class _BencodeHandler: | 36 | class _BencodeHandler: |
| 37 | """ | 37 | """ |
| 38 | Since bencode isn't that hard to parse, | 38 | Since bencode isn't that hard to parse, |
| 39 | MAT2 comes with its own parser, based on the spec | 39 | mat2 comes with its own parser, based on the spec |
| 40 | https://wiki.theory.org/index.php/BitTorrentSpecification#Bencoding | 40 | https://wiki.theory.org/index.php/BitTorrentSpecification#Bencoding |
| 41 | """ | 41 | """ |
| 42 | def __init__(self): | 42 | def __init__(self): |
