-
With the creation of ftguess oleid has been changed a lot, the output of its .check() method is very different. Instead of just adapting the existing unittests, I re-created the complete test, trying to make it easier to change/extend in the future.
-
This was a TODO which kept FileTypeGuesser.is_word from working properly.
-
Return False if OpenXML type has no known main relationship part. Otherwise recognize() will raise an error a few lines later at splitext(). This should solve issue #711 (author had suggested exactly this)
-
Did this analogous to Word 2007+ template types, added a "content_type" field with output from "file -i". Is there a rule on how to select "name" and "long_name"? "file" does not give the same results as those in the code
-
File type classes are all named FType_... but a few exceptions had an upper-case Y: FTYpe_Excel . Makes no sense, I guess that was a simple typo. Also, some comments in classes were only marked with a single "'", PEP requests three "'''"
-
File was created by myself, free to use
-
Makes people think that we detected encryption, not that function "is_encrypted" was started
-
Fixes OleID constructor
-
It's necessary to set self.data if data is not None. Fixes: #695 Signed-off-by: Jürgen Löhel <juergen.loehel@inlyse.com>
-
… in re_executable_extensions