Fix invalid syntax in pm_qos_mgr.py

In the main function, the exception for NotifierError
has invalid python 3 syntax, the right one should be as
following:
  except pyinotify.NotifierError as err:

Closes-bug: #1835871
Change-Id: If74233c8bc27573cbdac9e47abace2c6ab9d1503
Signed-off-by: junboli <junbo85.li@gmail.com>
This commit is contained in:
junboli 2019-07-09 02:04:22 -04:00 committed by junbo.li
parent 07740dd764
commit 06709615ad
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ def main():
try:
notifier.loop()
except pyinotify.NotifierError, err:
except pyinotify.NotifierError as err:
LOG.error('Problem with notifier.loop(), error: %s', err)
if __name__ == "__main__":