Skip to content
Snippets Groups Projects
Commit 22f2cb37 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[thorstenp] don't use deprecated string module

parent 70abf6a9
No related branches found
No related tags found
No related merge requests found
......@@ -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():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment