mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1600 from YunoHost/ci-format-debian/11.1.8.2
[CI] Format code with Black
This commit is contained in:
commit
5a24cac788
1 changed files with 21 additions and 21 deletions
42
src/hook.py
42
src/hook.py
|
@ -355,27 +355,27 @@ def hook_exec(
|
||||||
r"update-alternatives: ",
|
r"update-alternatives: ",
|
||||||
# Postgresql boring messages -_-
|
# Postgresql boring messages -_-
|
||||||
r"Building PostgreSQL dictionaries from .*",
|
r"Building PostgreSQL dictionaries from .*",
|
||||||
r'Removing obsolete dictionary files',
|
r"Removing obsolete dictionary files",
|
||||||
r'Creating new PostgreSQL cluster',
|
r"Creating new PostgreSQL cluster",
|
||||||
r'/usr/lib/postgresql/13/bin/initdb',
|
r"/usr/lib/postgresql/13/bin/initdb",
|
||||||
r'The files belonging to this database system will be owned by user',
|
r"The files belonging to this database system will be owned by user",
|
||||||
r'This user must also own the server process.',
|
r"This user must also own the server process.",
|
||||||
r'The database cluster will be initialized with locale',
|
r"The database cluster will be initialized with locale",
|
||||||
r'The default database encoding has accordingly been set to',
|
r"The default database encoding has accordingly been set to",
|
||||||
r'The default text search configuration will be set to',
|
r"The default text search configuration will be set to",
|
||||||
r'Data page checksums are disabled.',
|
r"Data page checksums are disabled.",
|
||||||
r'fixing permissions on existing directory /var/lib/postgresql/13/main ... ok',
|
r"fixing permissions on existing directory /var/lib/postgresql/13/main ... ok",
|
||||||
r'creating subdirectories \.\.\. ok',
|
r"creating subdirectories \.\.\. ok",
|
||||||
r'selecting dynamic .* \.\.\. ',
|
r"selecting dynamic .* \.\.\. ",
|
||||||
r'selecting default .* \.\.\. ',
|
r"selecting default .* \.\.\. ",
|
||||||
r'creating configuration files \.\.\. ok',
|
r"creating configuration files \.\.\. ok",
|
||||||
r'running bootstrap script \.\.\. ok',
|
r"running bootstrap script \.\.\. ok",
|
||||||
r'performing post-bootstrap initialization \.\.\. ok',
|
r"performing post-bootstrap initialization \.\.\. ok",
|
||||||
r'syncing data to disk \.\.\. ok',
|
r"syncing data to disk \.\.\. ok",
|
||||||
r'Success. You can now start the database server using:',
|
r"Success. You can now start the database server using:",
|
||||||
r'pg_ctlcluster \d\d main start',
|
r"pg_ctlcluster \d\d main start",
|
||||||
r'Ver\s*Cluster\s*Port\s*Status\s*Owner\s*Data\s*directory',
|
r"Ver\s*Cluster\s*Port\s*Status\s*Owner\s*Data\s*directory",
|
||||||
r'/var/lib/postgresql/\d\d/main /var/log/postgresql/postgresql-\d\d-main.log',
|
r"/var/lib/postgresql/\d\d/main /var/log/postgresql/postgresql-\d\d-main.log",
|
||||||
]
|
]
|
||||||
return all(not re.search(w, msg) for w in irrelevant_warnings)
|
return all(not re.search(w, msg) for w in irrelevant_warnings)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue