with vcsfile 1.9 and proper options set, don't need rely on repository's source anymore stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 09 Nov 2011 18:01:49 +0100
branchstable
changeset 790 13eaea0b03ef
parent 789 091616c4742b
child 791 5ac76ce656dd
with vcsfile 1.9 and proper options set, don't need rely on repository's source anymore
_apycotlib/repositories.py
--- a/_apycotlib/repositories.py	Fri Oct 28 11:10:02 2011 +0200
+++ b/_apycotlib/repositories.py	Wed Nov 09 18:01:49 2011 +0100
@@ -150,8 +150,7 @@
     def _ref_repo(self):
         if self.repository.local_cache:
             cnx = self.repository._cw.cnx
-            cacheroot = cnx.get_option_value('local-repo-cache-root',
-                                             self.repository.eid)
+            cacheroot = cnx.get_option_value('local-repo-cache-root')
             path = osp.join(cacheroot, self.repository.local_cache)
             if osp.exists(path):
                 return path