TSVZ 3.22__tar.gz → 3.23__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.22 → tsvz-3.23}/PKG-INFO +1 -1
- {tsvz-3.22 → tsvz-3.23}/TSVZ.egg-info/PKG-INFO +1 -1
- {tsvz-3.22 → tsvz-3.23}/TSVZ.py +5 -1
- {tsvz-3.22 → tsvz-3.23}/README.md +0 -0
- {tsvz-3.22 → tsvz-3.23}/TSVZ.egg-info/SOURCES.txt +0 -0
- {tsvz-3.22 → tsvz-3.23}/TSVZ.egg-info/dependency_links.txt +0 -0
- {tsvz-3.22 → tsvz-3.23}/TSVZ.egg-info/entry_points.txt +0 -0
- {tsvz-3.22 → tsvz-3.23}/TSVZ.egg-info/top_level.txt +0 -0
- {tsvz-3.22 → tsvz-3.23}/setup.cfg +0 -0
- {tsvz-3.22 → tsvz-3.23}/setup.py +0 -0
{tsvz-3.22 → tsvz-3.23}/PKG-INFO
RENAMED
{tsvz-3.22 → tsvz-3.23}/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.23'
|
|
26
26
|
__version__ = version
|
|
27
27
|
author = 'pan@zopyr.us'
|
|
28
28
|
|
|
@@ -672,6 +672,10 @@ def appendLinesTabularFile(fileName,linesToAppend,teeLogger = None,header = '',c
|
|
|
672
672
|
if (not line or line[0] != key):
|
|
673
673
|
line = [key]+line
|
|
674
674
|
formatedLines.append(line)
|
|
675
|
+
if not formatedLines:
|
|
676
|
+
if verbose:
|
|
677
|
+
__teePrintOrNot(f"No lines to append to {fileName}",teeLogger=teeLogger)
|
|
678
|
+
return
|
|
675
679
|
with open(fileName, mode ='r+b')as file:
|
|
676
680
|
correctColumnNum = max([len(line) for line in formatedLines])
|
|
677
681
|
if header.rstrip() and verifyHeader:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tsvz-3.22 → tsvz-3.23}/setup.py
RENAMED
|
File without changes
|