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 248cdd9370
commit 2f0cbd4efa

View File

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