Migrate reference to Changelog.yaml

This commit is contained in:
Kovid Goyal 2020-10-29 11:53:26 +05:30
parent cfa8f75836
commit 2cf8312e6a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ fun! CalibreLog()
nnoremap <silent> <buffer> n :call cursor(1+search('\V:::\$', 'n'), 0)<CR> nnoremap <silent> <buffer> n :call cursor(1+search('\V:::\$', 'n'), 0)<CR>
nnoremap <silent> <buffer> yb v/#<CR>t<Space>y:nohl<CR> nnoremap <silent> <buffer> yb v/#<CR>t<Space>y:nohl<CR>
normal! gg2j normal! gg2j
edit Changelog.yaml edit Changelog.txt
edit src/calibre/constants.py edit src/calibre/constants.py
endfun endfun

View File

@ -48,7 +48,7 @@ class Check(Command):
if f.endswith('.pyj'): if f.endswith('.pyj'):
yield f yield f
if self.has_changelog_check: if self.has_changelog_check:
yield self.j(self.d(self.SRC), 'Changelog.yaml') yield self.j(self.d(self.SRC), 'Changelog.txt')
def read_file(self, f): def read_file(self, f):
with open(f, 'rb') as f: with open(f, 'rb') as f: