Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Python3; fix decimal handling #11

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

diyclassics
Copy link

Two main changes in this pull request:

  • Print statements have been changed to function for Python3 compatibility.
  • Normalize function has been revised to allow for a three-digit decimal (dec) in LC call numbers.

diyclassics and others added 5 commits July 18, 2016 13:11
Now compatible with Python3; backwards compatible with Python2.7
… numbers

Needed to be able to handle call number of the type:
DK508.425.S39 T49 1989

This previous returned None because of the 425 decimal; not returns a
correct normalized call number. Note that all normalized call numbers
are now length 27 to accommodate this change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant