From 3e14091285b2e91780453c9c5d80f48cb4255484 Mon Sep 17 00:00:00 2001 From: Will Roberts Date: Wed, 18 Feb 2015 16:45:59 +0100 Subject: [PATCH] timeparse: ImportError on py3 --- pytimeparse/timeparse.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pytimeparse/timeparse.py b/pytimeparse/timeparse.py index 0c75f1a..06b15f1 100644 --- a/pytimeparse/timeparse.py +++ b/pytimeparse/timeparse.py @@ -1,5 +1,3 @@ -from future.builtins import dict -from future.builtins import int #!/usr/bin/env python # -*- coding: utf-8 -*- @@ -33,6 +31,7 @@ kinds of time expressions. # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +from builtins import dict, int import re SIGN = r'(?P[+|-])?'