mirror of
https://github.com/munki/munki.git
synced 2026-04-22 12:38:23 -05:00
Fix for getAppData() -- when moved to munkicommon, forgot to change munkicommon.display_debug1() to display_debug1()...
git-svn-id: http://munki.googlecode.com/svn/trunk@784 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -1190,8 +1190,7 @@ def getAppData():
|
||||
"""Queries system_profiler and returns a dict of app info items."""
|
||||
global APPDICT
|
||||
if APPDICT == {}:
|
||||
munkicommon.display_debug1(
|
||||
'Getting info on currently installed applications...')
|
||||
display_debug1('Getting info on currently installed applications...')
|
||||
cmd = ['/usr/sbin/system_profiler', '-XML', 'SPApplicationsDataType']
|
||||
proc = subprocess.Popen(cmd, shell=False, bufsize=1,
|
||||
stdin=subprocess.PIPE,
|
||||
|
||||
Reference in New Issue
Block a user