wcp-library 1.2.3__py3-none-any.whl → 1.2.4__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.
wcp_library/logging.py CHANGED
@@ -31,7 +31,8 @@ def create_log(file_level: int, console_level: int, iterations: int, project_nam
31
31
  last_file.unlink(missing_ok=True)
32
32
 
33
33
  for i in range(iterations, 0, -1):
34
- possible_iterative_filenames[i - 1].rename(possible_iterative_filenames[i])
34
+ if possible_iterative_filenames[i - 1].exists():
35
+ possible_iterative_filenames[i - 1].rename(possible_iterative_filenames[i])
35
36
 
36
37
  logging.basicConfig(
37
38
  filename=(application_path / (project_name + ".log")),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wcp-library
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: Common utilites for internal development at WCP
5
5
  Home-page: https://github.com/Whitecap-DNA/WCP-Library
6
6
  Author: Mitch-Petersen
@@ -15,11 +15,11 @@ wcp_library/ftp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  wcp_library/ftp/ftp.py,sha256=EpyW0J2QIGxP8zVGD4VarA0hi4C2XAPDPF-0j2sRdpI,4350
16
16
  wcp_library/ftp/sftp.py,sha256=hykXGLGdxe7DYAxFdTwjPjTEOYuIpSMyK3NOiTQNUK0,4176
17
17
  wcp_library/informatica.py,sha256=IXZtk_9X1XLbOEwFrsyOwTgajQKvtXgANBHmuTOP3Kk,4064
18
- wcp_library/logging.py,sha256=AXWoSx_eje7n_it31wJrUV-7iZUu31PRXv1B1jyqFp8,1996
18
+ wcp_library/logging.py,sha256=e6gG7HFgUrMajUZs4Gs0atFfOJJmdmxN0GerfynNWlY,2061
19
19
  wcp_library/selenium_helper.py,sha256=rlphTXsUgnbaXZknY5nfQqxFhnc7UmrpzhV3hQ-cv7k,2509
20
20
  wcp_library/sql/__init__.py,sha256=CLlBEBrWVAwE79bUxuQiwikSrYH8m9QRYSJ2l0-ofsY,1003
21
21
  wcp_library/sql/oracle.py,sha256=a0wc9zwBdzhZCZFRWxZlokDJEEt-HqhqmwRbtp2T8ZA,7342
22
22
  wcp_library/sql/postgres.py,sha256=397Ii0ImjEo_e_QuWJRazfs0WpT9cGrnc6sBPyr4UyY,6596
23
- wcp_library-1.2.3.dist-info/METADATA,sha256=-_Wl7vbXyJAGnEEHwKOS6f74nTODhr3F8mUKYJmE8mk,1513
24
- wcp_library-1.2.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
25
- wcp_library-1.2.3.dist-info/RECORD,,
23
+ wcp_library-1.2.4.dist-info/METADATA,sha256=l-Tt7182Vsz0V82DzPle9uxoXoz5Z5HoYMALR0cr_5A,1513
24
+ wcp_library-1.2.4.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
25
+ wcp_library-1.2.4.dist-info/RECORD,,