8bba0b88fd9329b44a53fcf43413e78ff2a55a30,homeassistant/__main__.py,,install_osx,#,164
Before Change
plist_file = codecs.open(path, "w", "utf-8")
plist_file.write(plist)
plist_file.close()
os.popen("launchctl load -w -F " + path)
print("Home Assistant has been installed. \
Open it here: http://localhost:8123")
After Change
hass_path = inp.read().strip()
with os.popen("whoami") as inp:
user = inp.read().strip()
cwd = os.path.dirname(__file__)
template_path = os.path.join(cwd, "startup", "launchd.plist")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: home-assistant/home-assistant
Commit Name: 8bba0b88fd9329b44a53fcf43413e78ff2a55a30
Time: 2015-09-14
Author: jon@jonmaddox.com
File Name: homeassistant/__main__.py
Class Name:
Method Name: install_osx
Project Name: undertheseanlp/underthesea
Commit Name: 16442e7865371dc940e46d74288fa74b36ca3023
Time: 2020-11-02
Author: anhv.ict91@gmail.com
File Name: underthesea/corpus/validate_corpus.py
Class Name:
Method Name: validate_sentence
Project Name: pysb/pysb
Commit Name: 31bedbc4d8d62fc42a7c9a20dd51c372cb510447
Time: 2017-05-02
Author: ben.gyori@gmail.com
File Name: pysb/kappa.py
Class Name:
Method Name: _parse_kasim_outfile