'httprepository' object has no attribute 'do_read'

Dmitry Samersoff dms at samersoff.net
Tue Nov 16 05:58:04 PST 2010


Dalibor,

On 2010-11-14 14:41, Dalibor Topic wrote:
> Open the forest.py file and change the one do_read instance to _call.

One more 1.7 fix (error in sshrepo)

yoda:q#diff -u  hgforest/forest.py  ~/.hgext/forest.py

--- hgforest/forest.py  2010-11-16 16:55:43.606878379 +0300
+++ /home/dms/.hgext/forest.py  2010-11-16 16:54:34.366896747 +0300
@@ -222,7 +222,10 @@
-    data = self.call("forests", walkhg=("", "True")[walkhg])
+    if hasattr(self, 'call'):
+        data = self.call("forests", walkhg=("", "True")[walkhg])
+    else:
+        data = self._call("forests", walkhg=("", "True")[walkhg])

-- 
Dmitry Samersoff
dms at samersoff.net, http://devnull.samersoff.net
* I do want to change the world, I don't want the world to change me




More information about the bsd-port-dev mailing list