Show More
@@ -1143,7 +1143,6 b' class ApiController(JSONRPCController):' | |||
|
1143 | 1143 | if not HasRepoPermissionLevel('read')(repo.repo_name): |
|
1144 | 1144 | raise JSONRPCError('repository `%s` does not exist' % (repoid,)) |
|
1145 | 1145 | |
|
1146 | ret_type = ret_type | |
|
1147 | 1146 | _map = {} |
|
1148 | 1147 | try: |
|
1149 | 1148 | _d, _f = ScmModel().get_nodes(repo, revision, root_path, |
@@ -321,8 +321,6 b' class RepoModel(object):' | |||
|
321 | 321 | fork_of = db.Repository.guess_instance(fork_of) |
|
322 | 322 | repo_group = db.RepoGroup.guess_instance(repo_group) |
|
323 | 323 | try: |
|
324 | repo_name = repo_name | |
|
325 | description = description | |
|
326 | 324 | # repo name is just a name of repository |
|
327 | 325 | # while repo_name_full is a full qualified name that is combined |
|
328 | 326 | # with name and path of group |
@@ -451,7 +451,6 b' class ScmModel(object):' | |||
|
451 | 451 | content = content.read() |
|
452 | 452 | processed_nodes.append((f_path, content)) |
|
453 | 453 | |
|
454 | message = message | |
|
455 | 454 | committer = user.full_contact |
|
456 | 455 | if not author: |
|
457 | 456 | author = committer |
@@ -493,7 +492,6 b' class ScmModel(object):' | |||
|
493 | 492 | user = db.User.guess_instance(user) |
|
494 | 493 | scm_instance = repo.scm_instance_no_cache() |
|
495 | 494 | |
|
496 | message = message | |
|
497 | 495 | committer = user.full_contact |
|
498 | 496 | if not author: |
|
499 | 497 | author = committer |
@@ -572,7 +570,6 b' class ScmModel(object):' | |||
|
572 | 570 | content = nodes[f_path].get('content') |
|
573 | 571 | processed_nodes.append((f_path, content)) |
|
574 | 572 | |
|
575 | message = message | |
|
576 | 573 | committer = user.full_contact |
|
577 | 574 | if not author: |
|
578 | 575 | author = committer |
General Comments 0
You need to be logged in to leave comments.
Login now