--- a/server/sources/pyrorql.py Mon Jul 06 10:32:28 2009 +0200
+++ b/server/sources/pyrorql.py Mon Jul 06 10:42:02 2009 +0200
@@ -164,7 +164,12 @@
"""
self.info('synchronizing pyro source %s', self.uri)
cnx = self.get_connection()
- extrepo = cnx._repo
+ try:
+ extrepo = cnx._repo
+ except AttributeError:
+ # fake connection wrapper returned when we can't connect to the
+ # external source (hence we've no chance to synchronize...)
+ return
etypes = self.support_entities.keys()
if mtime is None:
mtime = self.last_update_time()