Merge pull request #37016 from wuxiaobai24/fix_labels_check_ouput

fix output error in LabelsCheck
This commit is contained in:
Alexey Milovidov 2022-05-08 18:43:15 +03:00 committed by GitHub
commit 5bacfa2bae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,7 +220,7 @@ class PRInfo:
else: else:
diff_object = PatchSet(response.text) diff_object = PatchSet(response.text)
self.changed_files = {f.path for f in diff_object} self.changed_files = {f.path for f in diff_object}
print("Fetched info about %d changed files", len(self.changed_files)) print("Fetched info about %d changed files" % len(self.changed_files))
def get_dict(self): def get_dict(self):
return { return {