| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f19681f commit 261db17
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -178,11 +178,11 @@ | |||
| 178 | 178 | result = project.repository_compare('master', 'branch1') | |
| 179 | 179 | ||
| 180 | 180 | # get the commits | |
| 181 | - for i in commit: | ||
| 182 | - print(result.commits) | ||
| 181 | + for commit in result.commits: | ||
| 182 | + print(commit) | ||
| 183 | 183 | ||
| 184 | 184 | # get the diffs | |
| 185 | - for file_diff in commit.diffs: | ||
| 185 | + for file_diff in result.diffs: | ||
| 186 | 186 | print(file_diff) | |
| 187 | 187 | # end repository compare | |
| 188 | 188 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments