##// END OF EJS Templates
py3.13: Fix DeprecationWarning: 'maxsplit' is passed as positional argument
Mads Kiilerich -
r8792:3e017e76 stable
parent child Browse files
Show More
@@ -316,7 +316,7 class GitChangeset(BaseChangeset):
316 so = self.repository.run_git_command(cmd)
316 so = self.repository.run_git_command(cmd)
317
317
318 for i, blame_line in enumerate(so.split('\n')[:-1]):
318 for i, blame_line in enumerate(so.split('\n')[:-1]):
319 sha, line = re.split(r' ', blame_line, 1)
319 sha, line = re.split(r' ', blame_line, maxsplit=1)
320 yield (i + 1, sha, lambda sha=sha: self.repository.get_changeset(sha), line)
320 yield (i + 1, sha, lambda sha=sha: self.repository.get_changeset(sha), line)
321
321
322 def fill_archive(self, stream=None, kind='tgz', prefix=None,
322 def fill_archive(self, stream=None, kind='tgz', prefix=None,
General Comments 0
You need to be logged in to leave comments. Login now