p4cmd 2.4.11__tar.gz → 2.4.13__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 (23) hide show
  1. {p4cmd-2.4.11 → p4cmd-2.4.13}/PKG-INFO +11 -2
  2. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/__init__.py +1 -1
  3. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/p4cmd.py +8 -2
  4. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd.egg-info/PKG-INFO +11 -2
  5. {p4cmd-2.4.11 → p4cmd-2.4.13}/LICENSE +0 -0
  6. {p4cmd-2.4.11 → p4cmd-2.4.13}/README.md +0 -0
  7. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/p4errors.py +0 -0
  8. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/p4file.py +0 -0
  9. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/resources/__init__.py +0 -0
  10. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/resources/perforce_DEPOT_ONLY.png +0 -0
  11. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/resources/perforce_MOVED.png +0 -0
  12. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/resources/perforce_NEED_SYNC.png +0 -0
  13. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/resources/perforce_OPEN_FOR_ADD.png +0 -0
  14. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/resources/perforce_OPEN_FOR_DELETE.png +0 -0
  15. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/resources/perforce_OPEN_FOR_EDIT.png +0 -0
  16. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/resources/perforce_UNKNOWN.png +0 -0
  17. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/resources/perforce_UNTRACKED.png +0 -0
  18. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd/resources/perforce_UP_TO_DATE.png +0 -0
  19. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd.egg-info/SOURCES.txt +0 -0
  20. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd.egg-info/dependency_links.txt +0 -0
  21. {p4cmd-2.4.11 → p4cmd-2.4.13}/p4cmd.egg-info/top_level.txt +0 -0
  22. {p4cmd-2.4.11 → p4cmd-2.4.13}/setup.cfg +0 -0
  23. {p4cmd-2.4.11 → p4cmd-2.4.13}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: p4cmd
3
- Version: 2.4.11
3
+ Version: 2.4.13
4
4
  Summary: Simple P4 python module
5
5
  Home-page: https://github.com/nielsvaes/p4cmd
6
6
  Author: Niels Vaes
@@ -9,6 +9,15 @@ License: MIT
9
9
  Classifier: Operating System :: OS Independent
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
+ Dynamic: author
13
+ Dynamic: author-email
14
+ Dynamic: classifier
15
+ Dynamic: description
16
+ Dynamic: description-content-type
17
+ Dynamic: home-page
18
+ Dynamic: license
19
+ Dynamic: license-file
20
+ Dynamic: summary
12
21
 
13
22
  ### P4CMD 🌴
14
23
 
@@ -1,4 +1,4 @@
1
- VERSION = "2.4.11"
1
+ VERSION = "2.4.13"
2
2
 
3
3
  from .p4cmd import P4Client
4
4
  from .p4file import P4File
@@ -3,7 +3,7 @@ import marshal
3
3
  import sys
4
4
  import subprocess
5
5
  import socket
6
- import time
6
+ from pprint import pformat
7
7
 
8
8
  import logging
9
9
 
@@ -738,7 +738,13 @@ class P4Client(object):
738
738
 
739
739
  for info_dict in info_dicts:
740
740
  description_filter = description_filter.rstrip("\n")
741
- cl_description = self.__get_dict_value(info_dict, "desc").rstrip("\n")
741
+ try:
742
+ cl_description = self.__get_dict_value(info_dict, "desc").rstrip("\n")
743
+ except AttributeError as err:
744
+ raise p4errors.P4cmdError(err)
745
+
746
+ if not cl_description:
747
+ logging.warning(f"The CL description is empty in this return object!\n{pformat(info_dict)}")
742
748
 
743
749
  if not case_sensitive:
744
750
  description_filter = description_filter.lower()
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: p4cmd
3
- Version: 2.4.11
3
+ Version: 2.4.13
4
4
  Summary: Simple P4 python module
5
5
  Home-page: https://github.com/nielsvaes/p4cmd
6
6
  Author: Niels Vaes
@@ -9,6 +9,15 @@ License: MIT
9
9
  Classifier: Operating System :: OS Independent
10
10
  Description-Content-Type: text/markdown
11
11
  License-File: LICENSE
12
+ Dynamic: author
13
+ Dynamic: author-email
14
+ Dynamic: classifier
15
+ Dynamic: description
16
+ Dynamic: description-content-type
17
+ Dynamic: home-page
18
+ Dynamic: license
19
+ Dynamic: license-file
20
+ Dynamic: summary
12
21
 
13
22
  ### P4CMD 🌴
14
23
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes