Rename zephyr.lib.time to zephyr.lib.timestamp.

Otherwise one gets:

AttributeError: 'module' object has no attribute 'time'

when trying to use the time module from inside zephyr.lib.

(imported from commit 645368672a3eff68320278dd480edeed56721fcc)
This commit is contained in:
Tim Abbott
2013-01-10 16:49:07 -05:00
parent 3c8b30d043
commit 761b7cd5fa
6 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
from optparse import make_option
from django.core.management.base import BaseCommand
from zephyr.models import Realm, UserProfile, Message, UserMessage
from zephyr.lib.time import datetime_to_timestamp, timestamp_to_datetime
from zephyr.lib.timestamp import datetime_to_timestamp, timestamp_to_datetime
import simplejson
def dump():