LinkRelay & Twitter: Add the optional name= parameter to configuration hook callback.

master
Valentin Lorentz 2012-08-03 11:27:36 +00:00
parent c97a9febd8
commit e31048e009
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ class LinkRelay(callbacks.Plugin):
"to reload the configuration if you use the Config "
"plugin.")
def _loadFromConfig(self):
def _loadFromConfig(self, name=None):
self.relays = []
for relay in self.registryValue('relays').split(' || '):
if relay.endswith('|'):

View File

@ -123,7 +123,7 @@ class Twitter(callbacks.Plugin):
'to apply changes to the consumer key/secret '
'and token key/secret unless you reload it.')
def _dropApiObjects(self):
def _dropApiObjects(self, name=None):
self._apis = {}