On Tue, Mar 13, 2012 at 09:03:43PM +0100, Lluís Vilanova wrote:
> @@ -514,8 +521,9 @@ def main():
> try:
> opts, args = getopt.getopt(sys.argv[1:], "", long_options)
> except getopt.GetoptError, err:
> -# print help information and exit:
> -print str(err) # will p
Unifies the print+exit sequence into a single 'error' call.
Signed-off-by: Lluís Vilanova
Signed-off-by: Harsh Prateek Bora
---
scripts/tracetool.py | 27 +++
1 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/scripts/tracetool.py b/scripts/tracetool.py
i