1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 19:44:45 +00:00

remove debug

This commit is contained in:
deadc0de6
2019-03-29 19:14:44 +01:00
parent aefc6c398f
commit af21643e42

View File

@@ -233,14 +233,16 @@ class Cfg:
self.actions[k] = {}
a = Action(k2, k, v2)
self.actions[k][k2] = a
self.log.dbg('new action: {}'.format(a))
if self.debug:
self.log.dbg('new action: {}'.format(a))
else:
# parse naked actions as post actions
if self.key_actions_post not in self.actions:
self.actions[self.key_actions_post] = {}
a = Action(k, '', v)
self.actions[self.key_actions_post][k] = a
self.log.dbg('new action: {}'.format(a))
if self.debug:
self.log.dbg('new action: {}'.format(a))
# parse read transformations
if self.key_trans_r in self.content: