pilot.linkstec 0.0.94__py3-none-any.whl → 0.0.95__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,16 +1,10 @@
1
- import threading
2
-
3
1
  from pilot.job.impl.base_job import BaseJob
4
2
 
5
3
  from pilot.conver.converfileEncodding import nkf_convert
6
4
 
7
5
 
8
6
  class EncodingTransformerJob(BaseJob):
9
- _begin_file_lock = threading.Lock()
10
7
  def run(self):
11
- with self._begin_file_lock:
12
- if not self.change_current_trg_to_begin():
13
- return
14
8
  nkf_args = ['-w', '--overwrite']
15
9
  nkf_convert(self.file_path, nkf_args)
16
10
  super().run()
@@ -1,14 +1,10 @@
1
- import threading
2
1
  from pathlib import Path
3
2
 
4
3
  from pilot.job.impl.base_job import BaseJob
5
4
 
6
5
  class TabReplaceJob(BaseJob):
7
- _begin_file_lock = threading.Lock()
6
+
8
7
  def run(self):
9
- with self._begin_file_lock:
10
- if not self.change_current_trg_to_begin():
11
- return
12
8
  self.replace_tabs_with_spaces()
13
9
  super().run()
14
10
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pilot.linkstec
3
- Version: 0.0.94
3
+ Version: 0.0.95
4
4
  Summary: pilot of the ship, a tool for managing and deploying Python projects.
5
5
  Author-email: wanglr <wanglr1980@gmail.com>
6
6
  License-Expression: MIT
@@ -47,8 +47,8 @@ pilot/job/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  pilot/job/job_interface.py,sha256=EKtuj0IcdolP494aAgTtctgamyQIoFXVwRORwOQck7A,124
48
48
  pilot/job/base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
49
  pilot/job/base/convert/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
- pilot/job/base/convert/encodingTransformerJob.py,sha256=tJI2JcBK3869pIgJxf9WFa7D-wCnHHO1aU8vQo7qjds,457
51
- pilot/job/base/convert/tabReplaceJob.py,sha256=ev5uoPbiwhVCSDPdonvFDnWI-vi4R-4Adoa4eJddL9w,917
50
+ pilot/job/base/convert/encodingTransformerJob.py,sha256=P6txCqAcQ4w999ttA_gmA4VKr6klvTz4SrQIYT1gv6U,279
51
+ pilot/job/base/convert/tabReplaceJob.py,sha256=FtPLbWwDPgH1jGsK3y5_sY4lAZ4Lhsv7GQ-1A-QgAFE,743
52
52
  pilot/job/base/generate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
53
  pilot/job/base/generate/generateJsonBaseJob.py,sha256=5klyS0tj9YTAcLVldcxUe1GXnWYXsQhvpcB7bRjq_n4,1377
54
54
  pilot/job/base/generate/generateTextBaseJob.py,sha256=yJVzeM_87T_lqo3x39j9Mi4IuKwGj_Ww3bxXUuY_F6o,1299
@@ -74,8 +74,8 @@ pilot/unit/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
74
  pilot/unit/impl/base_unit.py,sha256=UV-RsCrSAknO6a2yZAQA0vD8Uo9yqJsNCXC5e8yZE6A,1348
75
75
  pilot/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
76
  pilot/util/files.py,sha256=v9uzfzo3Aq4xgnUIASEZeBJoA2nD9Qz_EA3P-FwzGFQ,1896
77
- pilot_linkstec-0.0.94.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
78
- pilot_linkstec-0.0.94.dist-info/METADATA,sha256=14rmXXR-afQoozUrbiOtP-qihKBQK3rSvLLEtWoCEic,679
79
- pilot_linkstec-0.0.94.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
80
- pilot_linkstec-0.0.94.dist-info/top_level.txt,sha256=BijnVJdXnIPxxx3s60M848seL4Z12gNUPod6KPJxK9c,6
81
- pilot_linkstec-0.0.94.dist-info/RECORD,,
77
+ pilot_linkstec-0.0.95.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
78
+ pilot_linkstec-0.0.95.dist-info/METADATA,sha256=oZGxmKBaFeI6-rZmMMs7PGAJ6sCoTN6w6H7QX6x5H4k,679
79
+ pilot_linkstec-0.0.95.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
80
+ pilot_linkstec-0.0.95.dist-info/top_level.txt,sha256=BijnVJdXnIPxxx3s60M848seL4Z12gNUPod6KPJxK9c,6
81
+ pilot_linkstec-0.0.95.dist-info/RECORD,,