inform about not running gajim while migrating
This commit is contained in:
parent
c7eb45aef5
commit
0b3cece7a6
1 changed files with 4 additions and 0 deletions
|
@ -167,6 +167,10 @@ def visit(arg, dirname, filenames):
|
||||||
con.commit()
|
con.commit()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
print 'Starting Logs Migration'
|
||||||
|
print '======================='
|
||||||
|
print 'Please do NOT run Gajim until this script is over'
|
||||||
|
print 'For more read http://trac.gajim.org/wiki/MigrateLogToDot9DB'
|
||||||
os.path.walk(PATH_TO_LOGS_BASE_DIR, visit, None)
|
os.path.walk(PATH_TO_LOGS_BASE_DIR, visit, None)
|
||||||
f = open(os.path.join(PATH_TO_LOGS_BASE_DIR, 'README'), 'w')
|
f = open(os.path.join(PATH_TO_LOGS_BASE_DIR, 'README'), 'w')
|
||||||
f.write('We do not use plain-text files anymore, because they do not scale.\n')
|
f.write('We do not use plain-text files anymore, because they do not scale.\n')
|
||||||
|
|
Loading…
Add table
Reference in a new issue