Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Commit

Permalink
import parse function
Browse files Browse the repository at this point in the history
  • Loading branch information
jbremer committed Mar 4, 2015
1 parent 5374dcc commit edc82be
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions utils/db_migration/versions/from_1_1_to_1_2-added_states.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
import sys
from datetime import datetime

try:
from dateutil.parser import parse
except ImportError:
print "Unable to import dateutil.parser",
print "(install with `pip install python-dateutil`)"
sys.exit()

try:
from alembic import op
except ImportError:
Expand Down

0 comments on commit edc82be

Please sign in to comment.