Old scripts: mark them deprecated and make them exit with status 1.

This commit is contained in:
Dominik Pantůček 2025-07-21 15:02:09 +02:00
parent 01491deec3
commit a8e4b3216d
4 changed files with 11 additions and 0 deletions

View file

@ -6,6 +6,9 @@ from brmbar import Database
import brmbar
print("!!! THIS PROGRAM NO LONGER WORKS !!!")
sys.exit(1)
db = Database.Database("dbname=brmbar")
shop = brmbar.Shop.new_with_defaults(db)
currency = shop.currency