From d67595fa9dbb90f2b095e4d73391e77ac8e32f94 Mon Sep 17 00:00:00 2001 From: Ronald Petty Date: Thu, 3 Mar 2022 10:04:36 -0800 Subject: [PATCH] Update parser.py extended rdb version range, probably not good enough (not sure all the other things that can change. --- rdbtools/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdbtools/parser.py b/rdbtools/parser.py index a0f42f8..61f09b3 100644 --- a/rdbtools/parser.py +++ b/rdbtools/parser.py @@ -959,7 +959,7 @@ def verify_magic_string(self, magic_string) : def verify_version(self, version_str) : version = int(version_str) - if version < 1 or version > 9: + if version < 1 or version > 10: raise Exception('verify_version', 'Invalid RDB version number %d' % version) self._rdb_version = version