summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index 6f2fac0..7fee470 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -1796,7 +1796,7 @@ class Project(GitlabObject):
warnings.warn("`archive` is deprecated, "
"use `repository_archive` instead",
DeprecationWarning)
- return self.repository_archive(path, ref_name, **kwargs)
+ return self.repository_archive(sha, **kwargs)
def repository_archive(self, sha=None, **kwargs):
"""Return a tarball of the repository.