mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-30 19:19:55 +00:00
Tidy up logging some more
This commit is contained in:
parent
685b9ab102
commit
d1a945a305
1 changed files with 2 additions and 2 deletions
|
@ -391,7 +391,7 @@ class XMLStream(object):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if not self.use_proxy:
|
if not self.use_proxy:
|
||||||
log.debug("Connecting to %s:%s" % self.address)
|
log.debug("Connecting to %s:%s", *self.address)
|
||||||
self.socket.connect(self.address)
|
self.socket.connect(self.address)
|
||||||
|
|
||||||
self.set_socket(self.socket, ignore=True)
|
self.set_socket(self.socket, ignore=True)
|
||||||
|
@ -808,7 +808,7 @@ class XMLStream(object):
|
||||||
if self.dns_answers[0] == address:
|
if self.dns_answers[0] == address:
|
||||||
break
|
break
|
||||||
self.dns_answers.pop(idx)
|
self.dns_answers.pop(idx)
|
||||||
log.debug("Trying to connect to %s:%s" % address)
|
log.debug("Trying to connect to %s:%s", *address)
|
||||||
return address
|
return address
|
||||||
|
|
||||||
def add_event_handler(self, name, pointer,
|
def add_event_handler(self, name, pointer,
|
||||||
|
|
Loading…
Reference in a new issue