浏览代码

Fix call.

Jelmer Vernooij 16 年之前
父节点
当前提交
52553bc6b5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dulwich/repo.py

+ 1 - 1
dulwich/repo.py

@@ -50,7 +50,7 @@ class Tags(object):
     
     def __setitem__(self, name, ref):
         self.tags[name] = ref
-        f = open(os.path.join(self.tagdir(), name), 'wb')
+        f = open(os.path.join(self.tagdir, name), 'wb')
         try:
             f.write("%s\n" % ref)
         finally: