Jelmer Vernooij 16 лет назад
Родитель
Сommit
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: