rm debug prints from optparser

This commit is contained in:
Nikos Kouremenos 2006-03-26 19:26:25 +00:00
parent 03a5f02cbd
commit 66029d652e
1 changed files with 0 additions and 4 deletions

View File

@ -200,7 +200,6 @@ class OptionsParser:
gajim.config.set('version', '0.9')
def update_config_09_to_010(self):
print 'update to 0.10'
if self.old_values.has_key('usetabbedchat') and not \
self.old_values['usetabbedchat']:
gajim.config.set('one_message_window', 'never')
@ -214,17 +213,14 @@ class OptionsParser:
proxies_str = gajim.config.get_per('accounts', account,
'file_transfer_proxies')
proxies = proxies_str.split(',')
print proxies
for i in range(0, len(proxies)):
proxies[i] = proxies[i].strip()
print proxies
for wrong_proxy in ['proxy.jabber.cd.chalmers.se',
'proxy65.jabber.autocom.pl', 'proxy65.jabber.ccc.de']:
if wrong_proxy in proxies:
proxies.remove(wrong_proxy)
if not 'transfer.jabber.freenet.de' in proxies:
proxies.append('transfer.jabber.freenet.de')
print proxies
proxies_str = ', '.join(proxies)
gajim.config.set_per('accounts', account, 'file_transfer_proxies',
proxies_str)