summaryrefslogtreecommitdiff
path: root/docs/gl_objects/projects.py
diff options
context:
space:
mode:
authorAron Pammer <info@aronpammer.me>2017-07-09 11:07:47 +0200
committerAron Pammer <info@aronpammer.me>2017-07-09 11:07:47 +0200
commit73be8f9a64b8a8db39f1a9d39b7bd677e1c68b0a (patch)
treea4337b7563a48adb92c4876a90015905ae93fc50 /docs/gl_objects/projects.py
parent261db178f2e91b68f45a6535009367b56af75769 (diff)
downloadgitlab-73be8f9a64b8a8db39f1a9d39b7bd677e1c68b0a.tar.gz
Changed attribution reference
Diffstat (limited to 'docs/gl_objects/projects.py')
-rw-r--r--docs/gl_objects/projects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/gl_objects/projects.py b/docs/gl_objects/projects.py
index 8db4ea7..428f357 100644
--- a/docs/gl_objects/projects.py
+++ b/docs/gl_objects/projects.py
@@ -178,11 +178,11 @@ file_content = p.repository_raw_blob(id)
result = project.repository_compare('master', 'branch1')
# get the commits
-for commit in result.commits:
+for commit in result['commits']:
print(commit)
# get the diffs
-for file_diff in result.diffs:
+for file_diff in result['diffs']:
print(file_diff)
# end repository compare