changeset 807cc97798b6 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=807cc97798b6
description: call some upgrade config function that were not in 0.12.5 and are
needed for 0.13
diffstat:
src/common/optparser.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diffs (26 lines):
diff -r a798d5b93adf -r 807cc97798b6 src/common/optparser.py
--- a/src/common/optparser.py Wed Oct 28 12:19:20 2009 +0100
+++ b/src/common/optparser.py Wed Oct 28 12:38:22 2009 +0100
@@ -201,6 +201,7 @@
if old < [0, 12, 3, 1] and new >= [0, 12, 3, 1]:
self.update_config_to_01231()
if old < [0, 12, 5, 1] and new >= [0, 12, 5, 1]:
+ self.update_config_from_0125()
self.update_config_to_01251()
if old < [0, 12, 5, 2] and new >= [0, 12, 5, 2]:
self.update_config_to_01252()
@@ -718,6 +719,14 @@
con.close()
gajim.config.set('version', '0.12.3.1')
+ def update_config_from_0125(self):
+ # All those functions need to be called for 0.12.5 to 0.13
transition
+ self.update_config_to_01211()
+ self.update_config_to_01213()
+ self.update_config_to_01214()
+ self.update_config_to_01215()
+ self.update_config_to_01231()
+
def update_config_to_01251(self):
back = os.getcwd()
os.chdir(logger.LOG_DB_FOLDER)
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits