Source

django-timedelta-field / timedelta / __init__.py

The branch 'py3k' does not exist.
import os

__version__ = open(os.path.join(os.path.dirname(__file__), "VERSION")).read().strip()

try:
    from django.core.exceptions import ImproperlyConfigured
except ImportError:
    ImproperlyConfigured = ImportError

try:
    from .fields import TimedeltaField
    from .helpers import (
        divide, multiply, modulo, 
        parse, nice_repr, 
        percentage, decimal_percentage,
        total_seconds
    )
except (ImportError, ImproperlyConfigured):
    pass