mirror of
https://github.com/munki/munki.git
synced 2026-01-06 22:49:58 -06:00
Python 3 idiom fix
This commit is contained in:
@@ -283,7 +283,7 @@ class ApplicationUsageRecorder(object):
|
||||
for table in tables:
|
||||
query = conn.execute(table['select_sql'])
|
||||
try:
|
||||
while 1:
|
||||
while True:
|
||||
row = query.fetchone()
|
||||
if not row:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user