Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e836a3a2 authored by Daniel Zheng's avatar Daniel Zheng Committed by Gerrit Code Review
Browse files

Merge "zstd negative compression support" into main

parents ba670284 d9191003
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1288,7 +1288,7 @@ def main(argv):
      assert len(words) >= 1 and len(words) <= 2
      assert len(words) >= 1 and len(words) <= 2
      OPTIONS.vabc_compression_param = a.lower()
      OPTIONS.vabc_compression_param = a.lower()
      if len(words) == 2:
      if len(words) == 2:
        if not words[1].isdigit():
        if not words[1].lstrip("-").isdigit():
          raise ValueError("Cannot parse value %r for option $COMPRESSION_LEVEL - only "
          raise ValueError("Cannot parse value %r for option $COMPRESSION_LEVEL - only "
                           "integers are allowed." % words[1])
                           "integers are allowed." % words[1])
    elif o == "--security_patch_level":
    elif o == "--security_patch_level":