From 3046bfce7b64f1af0be9f3057308aefcb53c69f8 Mon Sep 17 00:00:00 2001 From: Ian Copp Date: Wed, 10 Feb 2016 11:29:25 -0800 Subject: [PATCH 1/3] Add small time delay to restart-osx command --- homeassistant/__main__.py | 3 +++ 1 file changed, 3 insertions(+) mode change 100644 => 100755 homeassistant/__main__.py diff --git a/homeassistant/__main__.py b/homeassistant/__main__.py old mode 100644 new mode 100755 index 8c282c736b5..93409ec5d66 --- a/homeassistant/__main__.py +++ b/homeassistant/__main__.py @@ -7,6 +7,7 @@ import sys import threading import os import argparse +import time from homeassistant import bootstrap import homeassistant.config as config_util @@ -299,6 +300,8 @@ def main(): return 0 if args.restart_osx: uninstall_osx() + # A small delay is needed on systems to let the unload finish. + time.sleep(0.5) install_osx() return 0 From c9c15c4cf7db60be16c77f5cfeedd1c323dbe027 Mon Sep 17 00:00:00 2001 From: Ian Copp Date: Wed, 10 Feb 2016 11:32:56 -0800 Subject: [PATCH 2/3] Fix comment phrasing Somehow I left out the "some". Whoops. --- homeassistant/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/__main__.py b/homeassistant/__main__.py index 93409ec5d66..5351bcf7983 100755 --- a/homeassistant/__main__.py +++ b/homeassistant/__main__.py @@ -300,7 +300,7 @@ def main(): return 0 if args.restart_osx: uninstall_osx() - # A small delay is needed on systems to let the unload finish. + # A small delay is needed on some systems to let the unload finish. time.sleep(0.5) install_osx() return 0 From e53785f30c930d4ea91bc2256e907fc9328b8461 Mon Sep 17 00:00:00 2001 From: Ian Copp Date: Wed, 10 Feb 2016 21:20:39 -0800 Subject: [PATCH 3/3] Fix __main__.py permissions change --- homeassistant/__main__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 homeassistant/__main__.py diff --git a/homeassistant/__main__.py b/homeassistant/__main__.py old mode 100755 new mode 100644