TSVZ 3.13__py3-none-any.whl → 3.14__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: TSVZ
3
- Version: 3.13
3
+ Version: 3.14
4
4
  Summary: An simple in memory wrapper around a TSV file to function as a database
5
5
  Home-page: https://github.com/yufei-pan/TSVZ
6
6
  Author: Yufei Pan
@@ -0,0 +1,6 @@
1
+ TSVZ.py,sha256=Z2GXsKWfXFrjIHSg3gRldub4d6YvGt1fMTzuh-EZMjk,66968
2
+ TSVZ-3.14.dist-info/METADATA,sha256=9L4OSMoMJKZrPr4MyPZn74S-1nHnf3LmSI_Kdd1u1ks,1826
3
+ TSVZ-3.14.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
4
+ TSVZ-3.14.dist-info/entry_points.txt,sha256=WeXidyV5yKCRLaVsnAY35xGa08QgytOfvr1CK9aescI,60
5
+ TSVZ-3.14.dist-info/top_level.txt,sha256=OPx4LvOpaYykaos7oL_jGaObSWXxLzhHiWLuz-K147g,5
6
+ TSVZ-3.14.dist-info/RECORD,,
TSVZ.py CHANGED
@@ -22,7 +22,7 @@ if os.name == 'nt':
22
22
  elif os.name == 'posix':
23
23
  import fcntl
24
24
 
25
- version = '3.13'
25
+ version = '3.14'
26
26
  __version__ = version
27
27
  author = 'pan@zopyr.us'
28
28
 
@@ -289,7 +289,7 @@ def _processLine(line,taskDic,correctColumnNum,verbose = False,teeLogger = None,
289
289
  elif lineCache[0] == DEFAULTS_INDICATOR_KEY:
290
290
  if verbose:
291
291
  __teePrintOrNot(f"Empty defaults line found: {line}",teeLogger=teeLogger)
292
- defaults = []
292
+ defaults.clear()
293
293
  else:
294
294
  if verbose:
295
295
  __teePrintOrNot(f"Key {lineCache[0]} found with empty value, deleting such key's representaion",teeLogger=teeLogger)
@@ -319,7 +319,7 @@ def _processLine(line,taskDic,correctColumnNum,verbose = False,teeLogger = None,
319
319
  if lineCache[0] == DEFAULTS_INDICATOR_KEY:
320
320
  if verbose:
321
321
  __teePrintOrNot(f"Defaults line found: {line}",teeLogger=teeLogger)
322
- defaults = lineCache
322
+ defaults[:] = lineCache
323
323
  return correctColumnNum , []
324
324
  taskDic[lineCache[0]] = lineCache
325
325
  if verbose:
@@ -1,6 +0,0 @@
1
- TSVZ.py,sha256=ZCz71rVpAkeVxrN4vBFS7rdZJmkAtEQNatH83b7JMsM,66962
2
- TSVZ-3.13.dist-info/METADATA,sha256=awkcZiJKtAnfJ9kuGt58o3bvzgweZx7ZTZjUPpYG6fU,1826
3
- TSVZ-3.13.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
4
- TSVZ-3.13.dist-info/entry_points.txt,sha256=WeXidyV5yKCRLaVsnAY35xGa08QgytOfvr1CK9aescI,60
5
- TSVZ-3.13.dist-info/top_level.txt,sha256=OPx4LvOpaYykaos7oL_jGaObSWXxLzhHiWLuz-K147g,5
6
- TSVZ-3.13.dist-info/RECORD,,
File without changes