Skip to content
Snippets Groups Projects
Commit c6aa6ec8 authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

Add a missing call to File.recognizes so we actually perform the filename check.

parent 28165345
No related branches found
No related tags found
No related merge requests found
Pipeline #654988 failed
...@@ -171,6 +171,9 @@ class RdbFile(File): ...@@ -171,6 +171,9 @@ class RdbFile(File):
@classmethod @classmethod
def recognizes(cls, file): def recognizes(cls, file):
if not super().recognizes(file):
return False
# file(1) does not yet support identifying R database files, so we # file(1) does not yet support identifying R database files, so we
# match on "data" AND the filename ends with .rdb (via # match on "data" AND the filename ends with .rdb (via
# FILE_EXTENSION_SUFFIX above) to avoid matching, say, Redis database # FILE_EXTENSION_SUFFIX above) to avoid matching, say, Redis database
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment