aboutsummaryrefslogtreecommitdiffstats
path: root/DominoServer.py
diff options
context:
space:
mode:
Diffstat (limited to 'DominoServer.py')
-rwxr-xr-xDominoServer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/DominoServer.py b/DominoServer.py
index 417144e..39c4632 100755
--- a/DominoServer.py
+++ b/DominoServer.py
@@ -164,13 +164,16 @@ class CommunicationHandler:
if sub_msg.labels != []:
if sub_msg.label_op == APPEND:
+ logging.debug('APPENDING Labels...')
if self.dominoServer.subscribed_labels.has_key(sub_msg.domino_udid):
self.dominoServer.subscribed_labels[sub_msg.domino_udid].update(set(sub_msg.labels))
else:
self.dominoServer.subscribed_labels[sub_msg.domino_udid] = set(sub_msg.labels)
elif sub_msg.label_op == OVERWRITE:
+ logging.debug('OVERWRITING Labels...')
self.dominoServer.subscribed_labels[sub_msg.domino_udid] = set(sub_msg.labels)
elif sub_msg.label_op == DELETE:
+ logging.debug('DELETING Labels...')
self.dominoServer.subscribed_labels[sub_msg.domino_udid].difference_update(set(sub_msg.labels))
logging.debug('Supported Template: %s Supported Labels: %s' , self.dominoServer.subscribed_templateformats[sub_msg.domino_udid] , self.dominoServer.subscribed_labels[sub_msg.domino_udid])