TSVZ 3.13__tar.gz → 3.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tsvz-3.13 → tsvz-3.15}/PKG-INFO +1 -1
- {tsvz-3.13 → tsvz-3.15}/TSVZ.egg-info/PKG-INFO +1 -1
- {tsvz-3.13 → tsvz-3.15}/TSVZ.py +7 -4
- {tsvz-3.13 → tsvz-3.15}/README.md +0 -0
- {tsvz-3.13 → tsvz-3.15}/TSVZ.egg-info/SOURCES.txt +0 -0
- {tsvz-3.13 → tsvz-3.15}/TSVZ.egg-info/dependency_links.txt +0 -0
- {tsvz-3.13 → tsvz-3.15}/TSVZ.egg-info/entry_points.txt +0 -0
- {tsvz-3.13 → tsvz-3.15}/TSVZ.egg-info/top_level.txt +0 -0
- {tsvz-3.13 → tsvz-3.15}/setup.cfg +0 -0
- {tsvz-3.13 → tsvz-3.15}/setup.py +0 -0
{tsvz-3.13 → tsvz-3.15}/PKG-INFO
RENAMED
{tsvz-3.13 → tsvz-3.15}/TSVZ.py
RENAMED
|
@@ -22,7 +22,7 @@ if os.name == 'nt':
|
|
|
22
22
|
elif os.name == 'posix':
|
|
23
23
|
import fcntl
|
|
24
24
|
|
|
25
|
-
version = '3.
|
|
25
|
+
version = '3.15'
|
|
26
26
|
__version__ = version
|
|
27
27
|
author = 'pan@zopyr.us'
|
|
28
28
|
|
|
@@ -235,7 +235,10 @@ def __teePrintOrNot(message,level = 'info',teeLogger = None):
|
|
|
235
235
|
"""
|
|
236
236
|
try:
|
|
237
237
|
if teeLogger:
|
|
238
|
-
|
|
238
|
+
try:
|
|
239
|
+
teeLogger.teelog(message,level,callerStackDepth=3)
|
|
240
|
+
except:
|
|
241
|
+
teeLogger.teelog(message,level)
|
|
239
242
|
else:
|
|
240
243
|
print(message,flush=True)
|
|
241
244
|
except Exception as e:
|
|
@@ -289,7 +292,7 @@ def _processLine(line,taskDic,correctColumnNum,verbose = False,teeLogger = None,
|
|
|
289
292
|
elif lineCache[0] == DEFAULTS_INDICATOR_KEY:
|
|
290
293
|
if verbose:
|
|
291
294
|
__teePrintOrNot(f"Empty defaults line found: {line}",teeLogger=teeLogger)
|
|
292
|
-
defaults
|
|
295
|
+
defaults.clear()
|
|
293
296
|
else:
|
|
294
297
|
if verbose:
|
|
295
298
|
__teePrintOrNot(f"Key {lineCache[0]} found with empty value, deleting such key's representaion",teeLogger=teeLogger)
|
|
@@ -319,7 +322,7 @@ def _processLine(line,taskDic,correctColumnNum,verbose = False,teeLogger = None,
|
|
|
319
322
|
if lineCache[0] == DEFAULTS_INDICATOR_KEY:
|
|
320
323
|
if verbose:
|
|
321
324
|
__teePrintOrNot(f"Defaults line found: {line}",teeLogger=teeLogger)
|
|
322
|
-
defaults = lineCache
|
|
325
|
+
defaults[:] = lineCache
|
|
323
326
|
return correctColumnNum , []
|
|
324
327
|
taskDic[lineCache[0]] = lineCache
|
|
325
328
|
if verbose:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tsvz-3.13 → tsvz-3.15}/setup.py
RENAMED
|
File without changes
|