[thorstenp] don't use deprecated string module

This commit is contained in:
Yann Leboulanger 2008-12-03 21:13:40 +00:00
parent 70abf6a955
commit 22f2cb37a7
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@
from common import gajim
import select
import re
from string import split
from common.zeroconf.zeroconf import C_BARE_NAME, C_DOMAIN
try:
@ -157,7 +156,7 @@ class Zeroconf:
r'\064': '@',
}
name, stype, protocol, domain, dummy = split(fullname, '.')
name, stype, protocol, domain, dummy = fullname.split('.')
# Replace the escaped values
for src, trg in escaping.items():