Enrique Sánchez has proposed merging
~enriqueesanchz/launchpad:add-import-export-endpoints into launchpad:master.
Commit message:
Fix call to getDiffStats use repository path
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~enriqueesanchz/launchpad/+git/launchpad/+merge/491719
--
Your team Launchpad code reviewers is requested to review the proposed merge of
~enriqueesanchz/launchpad:add-import-export-endpoints into launchpad:master.
diff --git a/lib/lp/bugs/model/importvulnerabilityjob.py b/lib/lp/bugs/model/importvulnerabilityjob.py
index 1a33c54..6c35191 100644
--- a/lib/lp/bugs/model/importvulnerabilityjob.py
+++ b/lib/lp/bugs/model/importvulnerabilityjob.py
@@ -210,7 +210,7 @@ class ImportVulnerabilityJob(VulnerabilityJobDerived):
# turnip API call to get added/modified files
stats = getUtility(IGitHostingClient).getDiffStats(
- path=self.git_repository,
+ path=repository.getInternalPath(),
old=self.import_since_commit_sha1,
new=ref.commit_sha1,
logger=logger,
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help : https://help.launchpad.net/ListHelp