wcp-library 1.2.3__tar.gz → 1.2.5__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.
Files changed (25) hide show
  1. {wcp_library-1.2.3 → wcp_library-1.2.5}/PKG-INFO +1 -1
  2. {wcp_library-1.2.3 → wcp_library-1.2.5}/pyproject.toml +1 -1
  3. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/credentials/postgres.py +1 -1
  4. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/logging.py +2 -1
  5. {wcp_library-1.2.3 → wcp_library-1.2.5}/README.md +0 -0
  6. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/__init__.py +0 -0
  7. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/async_credentials/__init__.py +0 -0
  8. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/async_credentials/api.py +0 -0
  9. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/async_credentials/oracle.py +0 -0
  10. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/async_credentials/postgres.py +0 -0
  11. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/async_sql/__init__.py +0 -0
  12. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/async_sql/oracle.py +0 -0
  13. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/async_sql/postgres.py +0 -0
  14. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/credentials/__init__.py +0 -0
  15. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/credentials/ftp.py +0 -0
  16. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/credentials/oracle.py +0 -0
  17. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/emailing.py +0 -0
  18. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/ftp/__init__.py +0 -0
  19. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/ftp/ftp.py +0 -0
  20. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/ftp/sftp.py +0 -0
  21. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/informatica.py +0 -0
  22. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/selenium_helper.py +0 -0
  23. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/sql/__init__.py +0 -0
  24. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/sql/oracle.py +0 -0
  25. {wcp_library-1.2.3 → wcp_library-1.2.5}/wcp_library/sql/postgres.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wcp-library
3
- Version: 1.2.3
3
+ Version: 1.2.5
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
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "wcp-library"
3
- version = "1.2.3"
3
+ version = "1.2.5"
4
4
  description = "Common utilites for internal development at WCP"
5
5
  authors = ["Mitch-Petersen <mitch.petersen@wcap.ca>"]
6
6
  readme = "README.md"
@@ -13,7 +13,7 @@ class PostgresCredentialManager:
13
13
  self.password_url = URL("https://vault.wcap.ca/api/passwords/")
14
14
  self.api_key = passwordState_api_key
15
15
  self.headers = {"APIKey": self.api_key, 'Reason': 'Python Script Access'}
16
- self._password_list_id = 207
16
+ self._password_list_id = 210
17
17
 
18
18
  def _get_credentials(self) -> dict:
19
19
  """
@@ -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")),
File without changes