branch | stable |
changeset 7708 | 45be3a9debe6 |
parent 7648 | 5d5d98930247 |
child 7995 | 9a9f35ef418c |
--- a/hooks/__init__.py Wed Jul 27 14:22:32 2011 +0200 +++ b/hooks/__init__.py Wed Jul 27 14:24:40 2011 +0200 @@ -57,7 +57,7 @@ or not repo.config.source_enabled(source) or not source.config['synchronize']): continue - session = repo.internal_session() + session = repo.internal_session(safe=True) try: stats = source.pull_data(session) if stats.get('created'):