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:
parent
248cdd9370
commit
2f0cbd4efa
@ -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__":
|
||||||
|
Loading…
Reference in New Issue
Block a user