tracktolib 0.61.0__tar.gz → 0.61.1__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.4
2
2
  Name: tracktolib
3
- Version: 0.61.0
3
+ Version: 0.61.1
4
4
  Summary: Utility library for python
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "tracktolib"
3
- version = "0.61.0"
3
+ version = "0.61.1"
4
4
  description = "Utility library for python"
5
5
  authors = ["Julien Brayere <julien.brayere@tracktor.fr>"]
6
6
  license = "MIT"
@@ -83,7 +83,7 @@ pythonPlatform = "Linux"
83
83
 
84
84
  [tool.commitizen]
85
85
  name = "cz_conventional_commits"
86
- version = "0.61.0"
86
+ version = "0.61.1"
87
87
  tag_format = "$version"
88
88
  version_files = [
89
89
  "pyproject.toml:version"
@@ -270,7 +270,7 @@ class PGUpdateQuery(PGQuery):
270
270
  if self.where:
271
271
  return self.where
272
272
  elif self.where_keys is not None:
273
- start_from = self.start_from if self.start_from is not None else len(self.values) - len(self.where_keys)
273
+ start_from = self.start_from if self.start_from is not None else len(self.keys) - len(self.where_keys)
274
274
 
275
275
  return "WHERE " + " AND ".join(f"{k} = ${i + start_from + 1}" for i, k in enumerate(self.where_keys))
276
276
  return ""
File without changes
File without changes