aboutsummaryrefslogtreecommitdiffstats
path: root/config/doom/snippets/python-mode
diff options
context:
space:
mode:
Diffstat (limited to 'config/doom/snippets/python-mode')
-rw-r--r--config/doom/snippets/python-mode/cmktrace7
-rw-r--r--config/doom/snippets/python-mode/cmkwarn7
2 files changed, 0 insertions, 14 deletions
diff --git a/config/doom/snippets/python-mode/cmktrace b/config/doom/snippets/python-mode/cmktrace
deleted file mode 100644
index 85f42a3..0000000
--- a/config/doom/snippets/python-mode/cmktrace
+++ /dev/null
@@ -1,7 +0,0 @@
-# -*- mode: snippet -*-
-# name: cmktrace
-# key: ctrace
-# --
-import traceback
-from cmk.gui.log import logger
-logger.warn("\n\n"+"\n".join(traceback.format_stack()))
diff --git a/config/doom/snippets/python-mode/cmkwarn b/config/doom/snippets/python-mode/cmkwarn
deleted file mode 100644
index d3fe8f9..0000000
--- a/config/doom/snippets/python-mode/cmkwarn
+++ /dev/null
@@ -1,7 +0,0 @@
-# -*- mode: snippet -*-
-# name: cmkwarn
-# key: warn
-# --
-from cmk.gui.log import logger
-import pprint
-logger.warning(pprint.pformat(("$1", $0))) \ No newline at end of file