Skip to content

Commit

Permalink
More fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
corranwebster committed Aug 17, 2015
1 parent 2885023 commit 13174c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyface/confirmation_dialog.py
Expand Up @@ -16,7 +16,7 @@
from __future__ import absolute_import

# Local imports.
from constant import NO
from .constant import NO


def confirm(parent, message, title=None, cancel=False, default=NO):
Expand Down
3 changes: 1 addition & 2 deletions pyface/image_cache.py
Expand Up @@ -13,10 +13,9 @@
#------------------------------------------------------------------------------
""" The implementation of an image cache. """


# Import the toolkit specific version.
from __future__ import absolute_import

# Import the toolkit specific version.
from .toolkit import toolkit_object
ImageCache = toolkit_object('image_cache:ImageCache')

Expand Down
4 changes: 2 additions & 2 deletions pyface/message_dialog.py
Expand Up @@ -13,6 +13,8 @@
#------------------------------------------------------------------------------
""" The implementation of a dialog that displays a message. """

from __future__ import absolute_import


# Convenience functions.
def information(parent, message, title='Information'):
Expand Down Expand Up @@ -47,8 +49,6 @@ def error(parent, message, title='Error'):


# Import the toolkit specific version.
from __future__ import absolute_import

from .toolkit import toolkit_object
MessageDialog = toolkit_object('message_dialog:MessageDialog')

Expand Down

0 comments on commit 13174c2

Please sign in to comment.