all loaded backends are now configured (refs #368)

This commit is contained in:
Romain Bignon 2010-08-19 22:13:01 +02:00
commit 9581fa0b19
15 changed files with 17 additions and 45 deletions

View file

@ -35,7 +35,7 @@ class Geolooc(ConsoleApplication):
print >>sys.stderr, 'Syntax: %s ipaddr' % argv[0]
return 1
self.load_configured_backends(ICapGeolocIp)
self.load_backends(ICapGeolocIp)
for backend, location in self.do('get_location', argv[1]):
self.format(location)