(currentModule, message, msgType)
| 233 | |
| 234 | |
| 235 | def debug_msg(currentModule, message, msgType): |
| 236 | if DEBUG_LEVEL == 0: |
| 237 | pass # stop evaluation efficiently |
| 238 | else: |
| 239 | if msgType <= DEBUG_LEVEL: |
| 240 | # a bit more streamlined |
| 241 | print(bcolors.RED + "\nDEBUG_MSG: from module '" + |
| 242 | currentModule + "': " + message + bcolors.ENDC) |
| 243 | |
| 244 | if DEBUG_LEVEL == 2 or DEBUG_LEVEL == 4 or DEBUG_LEVEL == 6: |
| 245 | raw_input("waiting for <ENTER>\n") |
| 246 | |
| 247 | |
| 248 | def mod_name(): |
no outgoing calls
no test coverage detected