We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 261db17 commit 73be8f9Copy full SHA for 73be8f9
docs/gl_objects/projects.py
@@ -178,11 +178,11 @@
178
result = project.repository_compare('master', 'branch1')
179
180
# get the commits
181
-for commit in result.commits:
+for commit in result['commits']:
182
print(commit)
183
184
# get the diffs
185
-for file_diff in result.diffs:
+for file_diff in result['diffs']:
186
print(file_diff)
187
# end repository compare
188
0 commit comments