Skip to content

Commit 73be8f9

Browse files
author
Aron Pammer
committed
Changed attribution reference
1 parent 261db17 commit 73be8f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/gl_objects/projects.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,11 @@
178178
result = project.repository_compare('master', 'branch1')
179179

180180
# get the commits
181-
for commit in result.commits:
181+
for commit in result['commits']:
182182
print(commit)
183183

184184
# get the diffs
185-
for file_diff in result.diffs:
185+
for file_diff in result['diffs']:
186186
print(file_diff)
187187
# end repository compare
188188

0 commit comments

Comments
 (0)