Skip to content

Commit 565c35e

Browse files
author
Gauvain Pocentek
committed
Fix the Project.archive call
1 parent 2457823 commit 565c35e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/objects.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@ def archive(self, sha=None, **kwargs):
17961796
warnings.warn("`archive` is deprecated, "
17971797
"use `repository_archive` instead",
17981798
DeprecationWarning)
1799-
return self.repository_archive(path, ref_name, **kwargs)
1799+
return self.repository_archive(sha, **kwargs)
18001800

18011801
def repository_archive(self, sha=None, **kwargs):
18021802
"""Return a tarball of the repository.

0 commit comments

Comments
 (0)