create caps_cache table if it doesn't exists. fixes #3641

This commit is contained in:
Yann Leboulanger 2007-12-26 21:30:45 +00:00
parent 3cea125207
commit 5264b14290
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
AC_INIT([Gajim - A Jabber Instant Messager],
[0.11.4.0-svn],[http://trac.gajim.org/],[gajim])
[0.11.4.1-svn],[http://trac.gajim.org/],[gajim])
AC_PREREQ([2.59])
AM_INIT_AUTOMAKE([1.8])
AC_CONFIG_HEADER(config.h)

View File

@ -2,7 +2,7 @@ docdir = '../'
datadir = '../'
version = '0.11.4.0-svn'
version = '0.11.4.1-svn'
import sys, os.path
for base in ('.', 'common'):

View File

@ -174,8 +174,8 @@ class OptionsParser:
self.update_config_to_01115()
if old < [0, 11, 2, 1] and new >= [0, 11, 2, 1]:
self.update_config_to_01121()
if old < [0, 11, 2, 2] and new >= [0, 11, 2, 2]:
self.update_config_to_01122()
if old < [0, 11, 4, 1] and new >= [0, 11, 4, 1]:
self.update_config_to_01141()
gajim.logger.init_vars()
gajim.config.set('version', new_version)
@ -503,7 +503,7 @@ class OptionsParser:
gajim.config.set('version', '0.11.2.1')
def update_config_to_01122(self):
def update_config_to_01141(self):
back = os.getcwd()
os.chdir(logger.LOG_DB_FOLDER)
con = sqlite.connect(logger.LOG_DB_FILE)
@ -524,5 +524,5 @@ class OptionsParser:
except sqlite.OperationalError, e:
pass
con.close()
gajim.config.set('version', '0.11.2.2')
gajim.config.set('version', '0.11.4.1')