0

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: screencap of traceback

Community
  • 1
  • 1
toofarsideways
  • 3,956
  • 2
  • 31
  • 51

1 Answers1

0

This looks like IronPython issue #7267. I'll see if I can get a fix into 2.7.4.

Jeff Hardy
  • 7,632
  • 24
  • 24