Age | Commit message (Collapse) | Author |
|
|
|
|
|
Namely, Database.take_away and Database.give_back
"date" is an instance of datetime.datatime
|
|
|
|
|
|
Lists all umbrellas in a table.
|
|
It may not be a good idea to scatter database utilities around utils.py.
With this in mind, I moved them to database.py as static methods under
the class Database.
|
|
Is a lockfile named "$DATABASE_NAME.lock". `Database._write()` prevents
race conditions by enforcing the lock, and waiting until a previous lock
is released.
|
|
Define database format. Implement basic I/O operations and take_away /
give_back methods.
|