Exclude the markdown code from check

This commit is contained in:
Kovid Goyal 2013-09-25 18:13:00 +05:30
parent f6a7ef58f7
commit dc80d92b1d

View File

@ -34,6 +34,8 @@ class Check(Command):
for x in os.walk(self.j(self.SRC, 'calibre')):
for f in x[-1]:
y = self.j(x[0], f)
if x[0].endswith('calibre/ebooks/markdown'):
continue
mtime = os.stat(y).st_mtime
if cache.get(y, 0) == mtime:
continue