From 06cc9389f9f3ca4d54b722f3c493a233760b28aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Fri, 23 Dec 2005 23:48:10 +0000 Subject: [PATCH] * typo --- pisi/lockeddbshelve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/lockeddbshelve.py b/pisi/lockeddbshelve.py index e27b2e83..f837298f 100644 --- a/pisi/lockeddbshelve.py +++ b/pisi/lockeddbshelve.py @@ -64,7 +64,7 @@ def init_dbenv(): db.DB_RECOVER | # run normal recovery db.DB_CREATE) # allow db to create files ctx.dbenv.open(pisi.context.config.db_dir(), flags) - ctx.dbenv.setflags(db.DB_LOG_AUTOREMOVE, 1) # clear inactive logs automatically + ctx.dbenv.set_flags(db.DB_LOG_AUTOREMOVE, 1) # clear inactive logs automatically else: ctx.ui.warning(_('Opening PİSİ database in read-only mode. Operations that require write access will fail.')) ctx.dbenv = None