mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
06e9f8f8b8
commit
cfa8f75836
@ -313,7 +313,7 @@ class Resources(Command): # {{{
|
|||||||
src = self.j(self.SRC, '..', 'Changelog.txt')
|
src = self.j(self.SRC, '..', 'Changelog.txt')
|
||||||
dest = self.j(self.RESOURCES, 'changelog.json')
|
dest = self.j(self.RESOURCES, 'changelog.json')
|
||||||
if self.newer(dest, [src]):
|
if self.newer(dest, [src]):
|
||||||
self.info('\tCreating changelog.calibre_msgpack')
|
self.info('\tCreating changelog.json')
|
||||||
from setup.changelog import parse
|
from setup.changelog import parse
|
||||||
with open(src) as f:
|
with open(src) as f:
|
||||||
dump_json(parse(f.read(), parse_dates=False), dest)
|
dump_json(parse(f.read(), parse_dates=False), dest)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user