Download:
child 113:c7bd4a3f0db5
parent 111:b26943a3d16f
112:ac9565363b8d
Anton Shestakov <av6@dwimlabs.net>, Wed, 06 Jul 2016 14:04:03 +0800
adapters: fit long line

1 файлов изменено, 2 вставок(+), 2 удалений(-) [+]
candolint/adapters.py file | annotate | diff | comparison | revisions
--- a/candolint/adapters.py Wed Jul 06 14:02:44 2016 +0800
+++ b/candolint/adapters.py Wed Jul 06 14:04:03 2016 +0800
@@ -29,10 +29,10 @@
})
def get_line_url(self, change, line):
- return '{url}/src/{node}/{filename}#{basename}-{line_number}'.format(**{
+ return '{url}/src/{node}/{filename}#{basename}-{line}'.format(**{
'url': self.project.url,
'node': change.node,
'filename': line['filename'],
'basename': basename(line['filename']),
- 'line_number': line['line_number']
+ 'line': line['line_number']
})