cleanup imports
This commit is contained in:
parent
1e0f93bbf2
commit
12440acd96
22 changed files with 119 additions and 122 deletions
|
|
@ -1,6 +1,11 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
from __future__ import division
|
||||
|
||||
import re
|
||||
import stdnum.isbn
|
||||
|
||||
|
||||
def normalize_isbn(value):
|
||||
return ''.join([s for s in value if s.isdigit() or s == 'X'])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue