Show More
@@ -63,6 +63,7 b' class ChangesetCommentsModel(BaseModel):' | |||||
63 | :param f_path: |
|
63 | :param f_path: | |
64 | :param line_no: |
|
64 | :param line_no: | |
65 | """ |
|
65 | """ | |
|
66 | ||||
66 | if text: |
|
67 | if text: | |
67 | repo = Repository.get(repo_id) |
|
68 | repo = Repository.get(repo_id) | |
68 | cs = repo.scm_instance.get_changeset(revision) |
|
69 | cs = repo.scm_instance.get_changeset(revision) | |
@@ -78,7 +79,6 b' class ChangesetCommentsModel(BaseModel):' | |||||
78 |
|
79 | |||
79 | self.sa.add(comment) |
|
80 | self.sa.add(comment) | |
80 | self.sa.flush() |
|
81 | self.sa.flush() | |
81 |
|
||||
82 | # make notification |
|
82 | # make notification | |
83 | line = '' |
|
83 | line = '' | |
84 | if line_no: |
|
84 | if line_no: |
General Comments 0
You need to be logged in to leave comments.
Login now