repository: SYMTYPE is constant in module tarfile, not in any class
Reference: https://github.com/libgit2/pygit2/issues/618 Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
@@ -799,7 +799,7 @@ class Repository(_Repository):
|
||||
info.mtime = timestamp
|
||||
info.uname = info.gname = 'root' # just because git does this
|
||||
if entry.mode == GIT_FILEMODE_LINK:
|
||||
info.type = archive.SYMTYPE
|
||||
info.type = tarfile.SYMTYPE
|
||||
info.linkname = content
|
||||
info.mode = 0o777 # symlinks get placeholder
|
||||
info.size = 0
|
||||
|
Reference in New Issue
Block a user