0:4dcbaa8e310c
Anton Shestakov <av6@dwimlabs.net>, Sun, 12 Jun 2016 22:28:31 +0800
candolint: basic models and database management

next change 5:eaa6df85550a

incoming.py

Permissions: -rwxr-xr-x

Other formats: Feeds:
#!/usr/bin/env python
import os
from candolint.models import database, Project, Change, Check
rel = lambda *x: os.path.abspath(os.path.join(os.path.dirname(__file__), *x))
def main():
database.init(rel('database.sqlite'))
database.connect()
database.create_tables([Project, Change, Check], safe=True)
database.close()
if __name__ == '__main__':
main()