Skip to content

Commit

Permalink
fixed repository_compare examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Aron Pammer committed Jun 26, 2017
1 parent f19681f commit 261db17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/gl_objects/projects.py
Expand Up @@ -178,11 +178,11 @@
result = project.repository_compare('master', 'branch1')

# get the commits
for i in commit:
print(result.commits)
for commit in result.commits:
print(commit)

# get the diffs
for file_diff in commit.diffs:
for file_diff in result.diffs:
print(file_diff)
# end repository compare

Expand Down

0 comments on commit 261db17

Please sign in to comment.