tests: Use python3 compatible raise statement
This patch is made by using 2to3 command. find . -name *.py | xargs 2to3 -f raise -w -n Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
parent
8c851c2e36
commit
e1bb41bfde
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ class FstDevice:
|
|||
|
||||
def grequest(self, req):
|
||||
"""Send request on the global control interface"""
|
||||
raise Exception, "Virtual grequest() called!"
|
||||
raise Exception("Virtual grequest() called!")
|
||||
|
||||
def wait_gevent(self, events, timeout=None):
|
||||
"""Wait for a list of events on the global interface"""
|
||||
|
|
Loading…
Reference in a new issue