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:
Greg Neagle
2010-10-08 17:58:07 +00:00
parent af1df39f68
commit 68aa8cee64
+1 -2
View File
@@ -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,