This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from shutil import rmtree | |
from sys import argv | |
from pathlib import Path | |
from typing import Iterable | |
DELETE_DIRS: set[str] = { | |
"build", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Tool to verify, update, migrate and pack the ZODB database. Ignores and or fix possible read errors in the process. | |
usage: zodbtool {verify,repair,convert,pack} [{verify,repair,convert,pack} ...] | |
[-h] [-f FILE | -c CONFIG] [-D] [-o OID] [-p] [--zlib] [--convert-py3] | |
[--encoding ENCODING] [--encoding-fallback [ENCODING_FALLBACKS ...]] [-v] | |
Verifies, converts, migrates or packs a ZODB database. | |
positional arguments: |