Skip to content

Commit

Permalink
tools: Use __future__.absolute_import to fix time bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
embolalia committed Mar 28, 2015
1 parent af905c3 commit 85ab0a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions willie/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import

import sys
import os
Expand Down
1 change: 1 addition & 0 deletions willie/tools/calculation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# coding=utf8
"""Tools to help safely do calculations from user input"""
from __future__ import unicode_literals
from __future__ import absolute_import

import time
import numbers
Expand Down
1 change: 1 addition & 0 deletions willie/tools/time.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# coding=utf8
"""Tools for getting and displaying the time."""
from __future__ import unicode_literals
from __future__ import absolute_import

import datetime
try:
Expand Down

0 comments on commit 85ab0a1

Please sign in to comment.