summaryrefslogtreecommitdiff
path: root/compat.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-09-09 10:43:39 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-09-09 10:43:39 +0200
commit173003d9e07bde956eceda83f02224ceb082b4c7 (patch)
treea9f5be93f535fec2daa0fae6b033b79bade0376f /compat.py
parentf2e5ad1e946a5401753a4058269f933c6d94fc62 (diff)
downloadruamel.yaml-173003d9e07bde956eceda83f02224ceb082b4c7.tar.gz
mypy and minor fix
Diffstat (limited to 'compat.py')
-rw-r--r--compat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat.py b/compat.py
index ccad4bb..6f708cf 100644
--- a/compat.py
+++ b/compat.py
@@ -185,8 +185,8 @@ def dbg(val=None):
def nprint(*args, **kw):
# type: (Any, Any) -> None
- if bool(dbg):
- dbgprint = print # to fool checking for print statements
+ if bool(_debug):
+ dbgprint = print # to fool checking for print statements by dv utility
dbgprint(*args, **kw)