fix tools/dbmaint.py
fix tools/dbmaint.py


Former-commit-id: fdc01b0a079a2d8766a86322ae3952a145724e12 [formerly 4c939fc918d4832cb2c5afa86d9ac653b850fdfb]
Former-commit-id: b0a65b22c8344dee62456bf56770162b6dc957f2
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine