summaryrefslogtreecommitdiff
path: root/compat.py
diff options
context:
space:
mode:
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)