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