From e1dcb7e1982e7cf828bddcc09b9f4e40188cc455 Mon Sep 17 00:00:00 2001 From: Greg Neagle Date: Fri, 3 May 2019 21:45:23 -0700 Subject: [PATCH] Python 3 idiom fix --- code/client/munkilib/app_usage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/munkilib/app_usage.py b/code/client/munkilib/app_usage.py index e6b9f68a..07a7e682 100644 --- a/code/client/munkilib/app_usage.py +++ b/code/client/munkilib/app_usage.py @@ -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