Browse Source

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>
changes/20/680920/1
junboli 2 years ago
committed by junbo.li
parent
commit
06709615ad
  1. 2
      utilities/pm-qos-mgr/src/pm_qos_mgr/pm_qos_mgr.py

2
utilities/pm-qos-mgr/src/pm_qos_mgr/pm_qos_mgr.py

@ -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__":

Loading…
Cancel
Save