Commit f0bfbb94 authored by Nicolas Delaby's avatar Nicolas Delaby

add self.ONE_WAY_FROM_SERVER case

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15499 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d756e69a
......@@ -261,7 +261,7 @@ class PublicationSynchronization(XMLSyncUtils):
result = self.PubSyncInit(publication,xml_client,subscriber=subscriber,
sync_type=self.SLOW_SYNC)
elif self.checkAlert(xml_client) and \
alert_code in (self.TWO_WAY,self.SLOW_SYNC):
alert_code in (self.TWO_WAY, self.SLOW_SYNC, self.ONE_WAY_FROM_SERVER):
result = self.PubSyncInit(publication=publication,
xml_client=xml_client, subscriber=subscriber, sync_type=alert_code)
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment