Skip to content

Commit

Permalink
Merge pull request #242 from quantrocket-llc/master
Browse files Browse the repository at this point in the history
fix pyicu import to suppress warnings
  • Loading branch information
bear authored May 31, 2020
2 parents acb5798 + 1883750 commit 50dc617
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions parsedatetime/pdt_locales/icu.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
pass

try:
import PyICU as pyicu
import icu as pyicu
except ImportError:
pyicu = None
try:
import PyICU as pyicu
except ImportError:
pyicu = None


def icu_object(mapping):
Expand Down

0 comments on commit 50dc617

Please sign in to comment.