diff options
-rw-r--r-- | dotfiles/__init__.py | 2 | ||||
-rw-r--r-- | dotfiles/cli.py | 2 | ||||
-rwxr-xr-x | test_dotfiles.py | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/dotfiles/__init__.py b/dotfiles/__init__.py index 63e0d2b..26cd367 100644 --- a/dotfiles/__init__.py +++ b/dotfiles/__init__.py @@ -1,3 +1,3 @@ # -*- coding: utf-8 -*- -from .core import * +__all__ = ["core"] diff --git a/dotfiles/cli.py b/dotfiles/cli.py index b77fb95..a056f70 100644 --- a/dotfiles/cli.py +++ b/dotfiles/cli.py @@ -6,6 +6,8 @@ dotfiles.cli This module provides the CLI interface to dotfiles. """ +from __future__ import absolute_import + import os from . import core import ConfigParser diff --git a/test_dotfiles.py b/test_dotfiles.py index f9d6fcf..85cdce6 100755 --- a/test_dotfiles.py +++ b/test_dotfiles.py @@ -1,6 +1,8 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +from __future__ import with_statement + import os import shutil import tempfile |