Author: jmorliaguet
Date: Mon Jun 19 21:04:28 2006
New Revision: 3461

Modified:
   cpsskins/branches/paris-sprint-2006/storage/locations.py

Log:

- semantic



Modified: cpsskins/branches/paris-sprint-2006/storage/locations.py
==============================================================================
--- cpsskins/branches/paris-sprint-2006/storage/locations.py    (original)
+++ cpsskins/branches/paris-sprint-2006/storage/locations.py    Mon Jun 19 
21:04:28 2006
@@ -33,10 +33,10 @@
         """Find a location by its path"""
 
     def getPaths(root):
-        """Get a list of locations by root."""
+        """Get a list of paths by root."""
 
     def getAllPaths():
-        """Get a list of locations independently of roots."""
+        """Get a list of paths independently of roots."""
 
 class LocationStorage(Storage):
     """A BTree-based location storage
@@ -80,15 +80,15 @@
         return None
 
     def getPaths(self, root=u''):
-        locations = Set()
+        paths = Set()
         for key in self.keys():
             if key[0] != root:
                 continue
-            locations.add(key[1:])
-        return list(locations)
+            paths.add(key[1:])
+        return list(paths)
 
     def getAllPaths(self):
-        locations = Set()
+        paths = Set()
         for key in self.keys():
-            locations.add(key[1:])
-        return list(locations)
+            paths.add(key[1:])
+        return list(paths)
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to