Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/multiple-things.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import print_function
from __future__ import print_function, division
from webthing import (Action, Event, MultipleThings, Property, Thing, Value,
WebThingServer)
import logging
Expand Down
1 change: 1 addition & 0 deletions example/single-thing.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import division
from webthing import (Action, Event, Property, SingleThing, Thing, Value,
WebThingServer)
import logging
Expand Down
4 changes: 2 additions & 2 deletions webthing/action.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""High-level Action base class implementation."""

from .utils import timestamp
from __future__ import print_function, absolute_import, division
from webthing.utils import timestamp


class Action:
Expand Down
2 changes: 1 addition & 1 deletion webthing/event.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""High-level Event base class implementation."""

from .utils import timestamp
from webthing.utils import timestamp


class Event:
Expand Down
2 changes: 1 addition & 1 deletion webthing/property.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from jsonschema import validate
from jsonschema.exceptions import ValidationError

from .errors import PropertyError
from webthing.errors import PropertyError


class Property:
Expand Down
4 changes: 2 additions & 2 deletions webthing/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import tornado.web
import tornado.websocket

from .errors import PropertyError
from .utils import get_addresses, get_ip
from webthing.errors import PropertyError
from webthing.utils import get_addresses, get_ip


@tornado.gen.coroutine
Expand Down