[diffoscope] 02/03: comparators/elf: typo s/TYE/TYPE/

Mattia Rizzolo mattia at debian.org
Sat Jan 14 12:01:52 CET 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository diffoscope.

commit 6406b61147cc6540749149b4127563907455e629
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Jan 14 11:37:14 2017 +0100

    comparators/elf: typo s/TYE/TYPE/
    
    Gbp-Dch: Ignore
---
 diffoscope/comparators/elf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/diffoscope/comparators/elf.py b/diffoscope/comparators/elf.py
index 361c217..ca2e9ea 100644
--- a/diffoscope/comparators/elf.py
+++ b/diffoscope/comparators/elf.py
@@ -530,11 +530,11 @@ class ElfContainer(Container):
 
 class ElfFile(File):
     CONTAINER_CLASS = ElfContainer
-    RE_FILE_TYE = re.compile(r'^ELF ')
+    RE_FILE_TYPE = re.compile(r'^ELF ')
 
     @staticmethod
     def recognizes(file):
-        return ElfFile.RE_FILE_TYE.match(file.magic_file_type)
+        return ElfFile.RE_FILE_TYPE.match(file.magic_file_type)
 
     def compare_details(self, other, source=None):
         return _compare_elf_data(self.path, other.path)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list