Check-in [84f2995f8d]
Overview
Comment: | Format exceptions log.() calls |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
84f2995f8de8d7adc9fbfbea430132ec |
User & Date: | mario on 2020-05-13 17:45:09 |
Other Links: | manifest | tags |
Context
2020-05-13
| ||
17:45 | Dirble is not coming back. check-in: f0c0fe2cc6 user: mario tags: trunk | |
17:45 | Format exceptions log.() calls check-in: 84f2995f8d user: mario tags: trunk | |
17:44 | Add channel icon above title/link in toolbar. check-in: 614c2f6690 user: mario tags: trunk | |
Changes
Modified config.py from [833278b4e6] to [0fccb051e3].
︙ | |||
37 38 39 40 41 42 43 44 45 46 47 48 49 50 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | + | # Also provides a simple logging interface with log.TYPE(...), # which is also pre-instantiated. from __future__ import print_function import os, glob import sys from traceback import format_exc import json import gzip import platform import re from compat2and3 import gzip_decode, find_executable, PY2, PY3 import zlib import zipfile |
︙ | |||
135 136 137 138 139 140 141 | 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | - + | "bookmarks": 1, "search": 1, "streamedit": 1, "configwin": 1, } self.tmp = os.environ.get("TEMP", "/tmp") + "/streamtuner2" self.nothreads = 0 |
︙ | |||
370 371 372 373 374 375 376 | 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 | + - + + + + + | return # color/prefix if conf.windows: method = "[%s]" % method else: method = r"[{}[{}][0m".format(self.colors.get(method.split("_")[0], "47m"), method) # output print( |
︙ |