This commit is contained in:
Luflosi
2022-06-20 20:41:00 +02:00
parent 42d16d8296
commit 3ea87169ac

View File

@@ -65,7 +65,7 @@ def setup_database_skeleton(dsn, rouser=None):
cnt = cur.scalar('SELECT count(*) FROM pg_user where usename = %s', cnt = cur.scalar('SELECT count(*) FROM pg_user where usename = %s',
(rouser, )) (rouser, ))
if cnt == 0: if cnt == 0:
LOG.fatal("Web user '%s' does not exists. Create it with:\n" LOG.fatal("Web user '%s' does not exist. Create it with:\n"
"\n createuser %s", rouser, rouser) "\n createuser %s", rouser, rouser)
raise UsageError('Missing read-only user.') raise UsageError('Missing read-only user.')