Skip to content

Commit 6213d3d

Browse files
committed
Add DEBUG global
1 parent e09faa4 commit 6213d3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

php-getter-setter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@
1616
"plugin_loaded"
1717
]
1818

19+
DEBUG = False
1920

2021
def msg(msg):
21-
print ("[PHP Getters and Setters] %s" % msg)
22+
if DEBUG:
23+
print("[PHP Getters and Setters] %s" % msg)
2224

2325
class Prefs:
2426
"""

0 commit comments

Comments
 (0)