X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=sfa%2Fdummy%2Fdummyshell.py;h=50e78ac5a0b9c8e8d29467abe7ffe7597d1af9d6;hp=c6cc833aef00cf7171662a3e086b75ea4bcccebd;hb=ecc85e0b923922cf7117d29b380f5284edb88f21;hpb=fad16c7d54b658b37a9b42fbee47b0d4f51cb8ec diff --git a/sfa/dummy/dummyshell.py b/sfa/dummy/dummyshell.py index c6cc833a..50e78ac5 100644 --- a/sfa/dummy/dummyshell.py +++ b/sfa/dummy/dummyshell.py @@ -26,7 +26,7 @@ class DummyShell: def __getattr__(self, name): def func(*args, **kwds): if not name in DummyShell.direct_calls: - raise Exception, "Illegal method call %s for DUMMY driver"%(name) + raise Exception("Illegal method call %s for DUMMY driver"%(name)) result=getattr(self.proxy, name)(*args, **kwds) logger.debug('DummyShell %s returned ... '%(name)) return result