in gstack/__init__.py [0:0]
def _load_database():
database_file = os.path.join(
os.path.expanduser('~'),
'.gstack/gstack.sqlite'
)
if not os.path.exists(database_file):
sys.exit('No database found, please run gstack-configure')
return 'sqlite:///' + database_file