mirror of
https://github.com/munki/munki.git
synced 2026-04-23 13:29:26 -05:00
More PEP-8 cleanup
git-svn-id: http://munki.googlecode.com/svn/trunk@350 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -31,7 +31,6 @@ import optparse
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
#import plistlib
|
||||
import sqlite3
|
||||
import time
|
||||
import munkistatus
|
||||
@@ -742,9 +741,10 @@ def removeReceipts(pkgkeylist, noupdateapplepkgdb):
|
||||
|
||||
local_display_percent_done(3,4)
|
||||
|
||||
# we do our database last so its modtime is later than the modtime for the Apple DB...
|
||||
munkicommon.display_detail(
|
||||
"Removing unused paths from internal package database...")
|
||||
# we do our database last so its modtime is later than the modtime for the
|
||||
# Apple DB...
|
||||
munkicommon.display_detail("Removing unused paths from internal package "
|
||||
"database...")
|
||||
c.execute('DELETE FROM paths where path_key not in (select distinct path_key from pkgs_paths)')
|
||||
conn.commit()
|
||||
c.close()
|
||||
|
||||
Reference in New Issue
Block a user