__all__ = ['xsetbg_db_path', 'xsetbg_db']
# octal; -rw-------; make the database file(s) readable only by the user
__all__ = ['xsetbg_db_path', 'xsetbg_db']
# octal; -rw-------; make the database file(s) readable only by the user
class XSetBg(SQLObject):
full_name = UnicodeCol(alternateID=True)
last_shown = IntCol(default=None) # timestamp
flag = BoolCol(default=None)
class XSetBg(SQLObject):
full_name = UnicodeCol(alternateID=True)
last_shown = IntCol(default=None) # timestamp
flag = BoolCol(default=None)
def __exit__(self, *args, **kw):
sqlhub.processConnection.commit()
connection = sqlhub.processConnection = self.connection
def __exit__(self, *args, **kw):
sqlhub.processConnection.commit()
connection = sqlhub.processConnection = self.connection
- print "DB dirs:", db_dirs
- print "DB file:", xsetbg_db_path
+ print("DB dirs:", db_dirs)
+ print("DB file:", xsetbg_db_path)