From 9188de595ff2e6ee9f06469dd4d708510930eafa Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Fri, 11 Jul 2014 14:34:37 -0400 Subject: Cleanup imports and move __version__ to __init__.py --- bin/dotfiles | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/dotfiles b/bin/dotfiles index 5f4e1c9..39c95a5 100755 --- a/bin/dotfiles +++ b/bin/dotfiles @@ -13,7 +13,6 @@ if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'dotfiles')) sys.path.insert(0, PROJECT_ROOT_DIRECTORY) os.putenv('PYTHONPATH', PROJECT_ROOT_DIRECTORY) -import dotfiles.cli - if __name__ == '__main__': - dotfiles.cli.main() + from dotfiles.cli import main + main() -- cgit v1.2.3