From 2c816e5b7e678b4c09cc63e15052dc5097310b40 Mon Sep 17 00:00:00 2001 From: Christophe Dumez <christophe@nexedi.com> Date: Thu, 18 May 2006 13:42:41 +0000 Subject: [PATCH] - now list is alphabetically ordered. Was upside-down before because of pysvn lib. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7353 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Subversion/SubversionClient.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/product/ERP5Subversion/SubversionClient.py b/product/ERP5Subversion/SubversionClient.py index 6cc9e40401..eedebafa48 100644 --- a/product/ERP5Subversion/SubversionClient.py +++ b/product/ERP5Subversion/SubversionClient.py @@ -241,7 +241,10 @@ try: def status(self, path, **kw): # Since plain Python classes are not convenient in Zope, convert the objects. - return [Status(x) for x in self.client.status(path, **kw)] + status_list = [Status(x) for x in self.client.status(path, **kw)] + # XXX: seems that pysvn return a list that is upside-down, we reverse it... + status_list.reverse() + return status_list def removeAllInList(self, list): """Remove all files and folders in list -- 2.30.9