equal
deleted
inserted
replaced
333 # ... and we don't support that |
333 # ... and we don't support that |
334 raise NotImplementedError |
334 raise NotImplementedError |
335 |
335 |
336 def before(self): |
336 def before(self): |
337 # Check if we have a new enough version to use automate stdio |
337 # Check if we have a new enough version to use automate stdio |
338 version = 0.0 |
|
339 try: |
338 try: |
340 versionstr = self.mtnrunsingle("interface_version") |
339 versionstr = self.mtnrunsingle("interface_version") |
341 version = float(versionstr) |
340 version = float(versionstr) |
342 except Exception: |
341 except Exception: |
343 raise error.Abort(_("unable to determine mtn automate interface " |
342 raise error.Abort(_("unable to determine mtn automate interface " |