mirror of
https://github.com/munki/munki.git
synced 2026-05-19 20:58:34 -05:00
PyLint cleanups
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -86,7 +86,7 @@ def main():
|
||||
noremovereceipts=options.noremovereceipts,
|
||||
noupdateapplepkgdb=options.noupdateapplepkgdb)
|
||||
if options.munkistatusoutput:
|
||||
munkistatus.quit()
|
||||
munkistatus.quit_app()
|
||||
exit(retcode)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user