p4cmd 2.4.7__tar.gz → 2.4.9__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: p4cmd
3
- Version: 2.4.7
3
+ Version: 2.4.9
4
4
  Summary: Simple P4 python module
5
5
  Home-page: https://github.com/nielsvaes/p4cmd
6
6
  Author: Niels Vaes
@@ -696,6 +696,7 @@ class P4Client(object):
696
696
  :param changelist: *string* or *int* changelist number
697
697
  :return: *list* of depot paths
698
698
  """
699
+ changelist = self.__ensure_changelist(changelist)
699
700
  depot_paths = []
700
701
 
701
702
  info_dicts = self.run_cmd("opened", args=["-c", changelist])
@@ -211,4 +211,19 @@ class P4File(object):
211
211
  return self.__last_submitted_by
212
212
 
213
213
  def set_last_submitted_by(self, value):
214
- self.__last_submitted_by = value
214
+ self.__last_submitted_by = value
215
+
216
+ def __eq__(self, other):
217
+ if not isinstance(other, P4File):
218
+ return NotImplemented
219
+
220
+ private_attributes = [
221
+ '_P4File__local_file_path', '_P4File__depot_file_path', '_P4File__last_submitted_by',
222
+ '_P4File__have_revision', '_P4File__head_revision', '_P4File__checked_out_by',
223
+ '_P4File__last_submit_time', '_P4File__action', '_P4File__raw_data', '_P4File__head_action'
224
+ ]
225
+
226
+ for attr in private_attributes:
227
+ if getattr(self, attr) != getattr(other, attr):
228
+ return False
229
+ return True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: p4cmd
3
- Version: 2.4.7
3
+ Version: 2.4.9
4
4
  Summary: Simple P4 python module
5
5
  Home-page: https://github.com/nielsvaes/p4cmd
6
6
  Author: Niels Vaes
@@ -7,7 +7,7 @@ data_files_to_include = ["*.png"]
7
7
 
8
8
  setuptools.setup(
9
9
  name="p4cmd",
10
- version="2.4.7",
10
+ version="2.4.9",
11
11
  author="Niels Vaes",
12
12
  license='MIT',
13
13
  author_email="nielsvaes@gmail.com",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes