mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 15:16:20 +01:00
Remove unused code
This commit is contained in:
parent
080c19b966
commit
cf1a6aea96
1 changed files with 0 additions and 7 deletions
|
|
@ -520,13 +520,6 @@ def detect_ncpus():
|
|||
_spat = re.compile(r'^the\s+|^a\s+|^an\s+', re.IGNORECASE)
|
||||
|
||||
|
||||
def english_sort(x, y):
|
||||
'''
|
||||
Comapare two english phrases ignoring starting prepositions.
|
||||
'''
|
||||
return cmp(_spat.sub('', x), _spat.sub('', y))
|
||||
|
||||
|
||||
def walk(dir):
|
||||
''' A nice interface to os.walk '''
|
||||
for record in os.walk(dir):
|
||||
|
|
|
|||
Loading…
Reference in a new issue