Logo
Explore Help
Sign In
kenmirrors/freeswitch
1
0
Fork 0
You've already forked freeswitch
mirror of https://github.com/signalwire/freeswitch.git synced 2025-05-08 16:53:21 +00:00
Code Issues Projects Releases Wiki Activity
freeswitch/scripts/python/freepy/globals.py

15 lines
303 B
Python
Raw Normal View History

forgot to check something in git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7770 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-02 17:23:02 +00:00
fixed protocol incompatibility, make more robust and less anal regarding spurious blank lines, debugging instructions added to README. debug off by default git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9009 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-13 04:10:52 +00:00
import os
if os.environ.has_key('FREEPY_DEBUG_ON'):
# pull from environment if avail
FREEPY_DEBUG_ON = os.environ['FREEPY_DEBUG_ON']
else:
# fall back to hardcoded value
improve debuggability git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9583 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-18 00:07:15 +00:00
#FREEPY_DEBUG_ON = False
FREEPY_DEBUG_ON = True
fixed protocol incompatibility, make more robust and less anal regarding spurious blank lines, debugging instructions added to README. debug off by default git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9009 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-13 04:10:52 +00:00
improve debuggability git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9583 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-18 00:07:15 +00:00
def debug(msg):
if FREEPY_DEBUG_ON:
print msg
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 281ms Template repo/home: 9ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API