mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
unicode_check: do not try to check pyuic-generated files
This commit is contained in:
parent
2212dfc649
commit
cba11fb969
@ -72,7 +72,8 @@ class Base(Command):
|
|||||||
def get_files(self):
|
def get_files(self):
|
||||||
from calibre import walk
|
from calibre import walk
|
||||||
for path in walk(os.path.join(self.SRC, 'calibre')):
|
for path in walk(os.path.join(self.SRC, 'calibre')):
|
||||||
if path.endswith('.py') and not os.path.basename(path) in self.EXCLUDED_BASENAMES:
|
if (path.endswith('.py') and not path.endswith('_ui.py') and not
|
||||||
|
os.path.basename(path) in self.EXCLUDED_BASENAMES):
|
||||||
yield path
|
yield path
|
||||||
|
|
||||||
def file_hash(self, f):
|
def file_hash(self, f):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user