I'm loading dulwich into ironpython and when I try to run the example code below from How to pull from the remote using dulwich?
from dulwich.repo import Repo
from dulwich.client import HttpGitClient
local = Repo.init("local", mkdir=True)
client = HttpGitClient('http://github.com/adammorris/')
remote_refs = client.fetch("history.js.git",local)
local["HEAD"] = remote_refs["refs/heads/master"]
I get: AttributeError: 'module' object has no attribute 'fsync'
.
I know that in the case of AttributeError: 'module' object has no attribute '_getframe'
passing -X:Frames
enables the appropriate call which is disabled by default for performance reasons. Is this a similar case and if not how should I proceed?
EDIT: