Corrected method arguments
authorThierry Florac <thierry.florac@onf.fr>
Fri, 22 Jun 2018 09:11:25 +0200
changeset 76 56f01a2bcb32
parent 75 489327f672ff
child 77 91e0b2a7a544
Corrected method arguments
src/pyams_workflow/interfaces/__init__.py
--- a/src/pyams_workflow/interfaces/__init__.py	Mon Jun 11 16:12:09 2018 +0200
+++ b/src/pyams_workflow/interfaces/__init__.py	Fri Jun 22 09:11:25 2018 +0200
@@ -333,7 +333,7 @@
     def get_version(self, version_id):
         """Get version matching given id"""
 
-    def get_versions(self, state=None, sort=False, reverse=False):
+    def get_versions(self, states=None, sort=False, reverse=False):
         """Get all versions of object known for this (optional) state"""
 
     def get_last_versions(self, count=1):