| commit | 81bd74d9c3d04fd6acfe1cdbfff42fcbab4d9af9 | [log] [tgz] |
|---|---|---|
| author | Vinay Karanam <vinayinvicible@gmail.com> | Sun Jul 03 04:31:19 2016 +0530 |
| committer | Vinay Karanam <vinayinvicible@gmail.com> | Sun Jul 03 04:31:19 2016 +0530 |
| tree | bcafceff2998819172056a8df7da932df1cca94a | |
| parent | c58ae08fed9e686bc8434372ac97355226a6a78d [diff] |
coverage fix
diff --git a/pre_commit_hooks/requirements_txt_fixer.py b/pre_commit_hooks/requirements_txt_fixer.py index c64b0a2..64b5e47 100644 --- a/pre_commit_hooks/requirements_txt_fixer.py +++ b/pre_commit_hooks/requirements_txt_fixer.py
@@ -12,12 +12,6 @@ @property def name(self): - if self.value is None: - return - - if self.value == b'\n': - return - if self.value.startswith(b'-e '): return self.value.lower().partition(b'=')[-1]