mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +01:00
Fixed a NameError in an exception handler for a module we don't use anymore.
This commit is contained in:
parent
0773aa31e5
commit
47b42eebff
@ -90,9 +90,10 @@ def search(log, queries, **kwargs):
|
|||||||
log.exception('Uncaught SAX error:')
|
log.exception('Uncaught SAX error:')
|
||||||
raise callbacks.Error, 'Google returned an unparsable response. ' \
|
raise callbacks.Error, 'Google returned an unparsable response. ' \
|
||||||
'The full traceback has been logged.'
|
'The full traceback has been logged.'
|
||||||
except SOAPpy.Error, e:
|
# We don't use SOAPpy anymore, apparently.
|
||||||
log.exception('Uncaught SOAP exception in Google.search:')
|
## except SOAPpy.Error, e:
|
||||||
raise callbacks.Error, 'Error connecting to Google.com.'
|
## log.exception('Uncaught SOAP exception in Google.search:')
|
||||||
|
## raise callbacks.Error, 'Error connecting to Google.com.'
|
||||||
|
|
||||||
last24hours = utils.structures.TimeoutQueue(86400)
|
last24hours = utils.structures.TimeoutQueue(86400)
|
||||||
totalTime = conf.supybot.plugins.Google.state.time()
|
totalTime = conf.supybot.plugins.Google.state.time()
|
||||||
|
Loading…
Reference in New Issue
Block a user