From 829d1316b236d0e58633d29d34ae4ee77ab584e9 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 25 Mar 2021 12:37:21 -0400 Subject: [PATCH] Remove 'APPEND:' If possible, we wannt to stick to 'MERGE', since the handlers are designed to make that idempotent for repeat. APPEND: would not be idempotent... --- confluent_server/confluent/syncfiles.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/confluent_server/confluent/syncfiles.py b/confluent_server/confluent/syncfiles.py index 360d022b..256c0c53 100644 --- a/confluent_server/confluent/syncfiles.py +++ b/confluent_server/confluent/syncfiles.py @@ -53,9 +53,7 @@ class SyncList(object): if not ent: continue if ent[-1] == ':': - if ent == 'APPEND:': - currmap = self.appendmap - elif ent == 'MERGE:': + if ent == 'MERGE:': currmap = self.mergemap else: raise Exception(