PyLint cleanups

This commit is contained in:
Greg Neagle
2017-04-07 22:12:02 -07:00
parent a4eef0f256
commit d13130c4dc
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -757,7 +757,7 @@ def main():
# update check results.
recordUpdateCheckResult(-2)
# tell status app we're done sending status
munkistatus.quit()
munkistatus.quit_app()
osutils.cleanUpTmpDir()
exit(result)
# Force a prefs refresh, in case preflight modified the prefs file.
@@ -1038,7 +1038,7 @@ def main():
doRestart()
else:
# tell status app we're done sending status
munkistatus.quit()
munkistatus.quit_app()
if runtype == 'checkandinstallatstartup' and not mustrestart:
if os.path.exists(checkandinstallatstartupflag):
+1 -1
View File
@@ -138,7 +138,7 @@ def activate():
_currentStatus['command'] = ''
def quit():
def quit_app():
'''Tells the status app that we're done.'''
_currentStatus['command'] = 'quit'
postStatusNotification()
+1 -1
View File
@@ -86,7 +86,7 @@ def main():
noremovereceipts=options.noremovereceipts,
noupdateapplepkgdb=options.noupdateapplepkgdb)
if options.munkistatusoutput:
munkistatus.quit()
munkistatus.quit_app()
exit(retcode)