diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-02-05 16:20:49 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-02-11 11:43:08 +0000 |
commit | ea926a07a4b800bcd87d0841c213ad02faae00f3 (patch) | |
tree | 44d161e19ec58209ba15c9135e5b3e4273627c6c | |
parent | 0da0eb42be3ec77416d154336e36a2c6c19b1c6b (diff) | |
download | cmdtest-ea926a07a4b800bcd87d0841c213ad02faae00f3.tar.gz |
elements: remove unused execute method
-rw-r--r-- | yarnlib/elements.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/yarnlib/elements.py b/yarnlib/elements.py index 9eeb1b7..f6b6f76 100644 --- a/yarnlib/elements.py +++ b/yarnlib/elements.py @@ -1,4 +1,4 @@ -# Copyright 2013 Lars Wirzenius +# Copyright 2013-2014 Lars Wirzenius # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -44,8 +44,3 @@ class Implementation(object): self.regexp = regexp self.shell = shell - def execute(self): - exit, out, err = cliapp.runcmd_unchecked( - ['sh', '-c', 'set -eu\n' + self.shell]) - return exit - |