Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ganesh Pal Newsgroups: comp.lang.python Subject: Re: storing test logs under /var/log/ Date: Wed, 9 Dec 2015 11:46:36 +0530 Lines: 7 Message-ID: References: <20151203081723.GA48121@cskk.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de wvZ/sXUkCWKx+XHjQq8FaQn5dFY6rU/L1J9guxpCV7pA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:test': 0.07; 'cc:addr:python-list': 0.09; 'afterwards': 0.16; 'argument.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:log': 0.16; 'subject:under': 0.16; 'to:addr:web.de': 0.16; 'numerical': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'header:In- Reply-To:1': 0.24; 'error': 0.27; 'message-id:@mail.gmail.com': 0.27; 'invoke': 0.29; 'subject:/': 0.30; 'similar': 0.33; 'received:google.com': 0.35; 'received:209.85': 0.36; 'subject:: ': 0.37; 'display': 0.37; 'thanks': 0.37; 'received:209': 0.38; 'wrong': 0.38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ejuvC8Q3UuTjrRzWCg5O66umD8cNeuMySATJoeuEPr4=; b=dsaXSqpLNbYbtBpnMaD28Ve89s0T6U7RSaFtBTWgdlWq0mMn/RF89eAqxT+I0rRNKC jVXqztJF/WbUk6GmAb70lnTnwkWbcwag0TZ2BUQ2RqKftCqrDQWQLKKuDH396Qcx6wDy E8nD0FBLBcrgkI7XBscR679G3DXZbbD0mpXhGSi10/7X5lKYfsLb4lHKb4dHiEZpKtGc sBqVaEdSZL6YB8AcUiahhxhJ5g2RVqn+Mm6qjCboKDPKOnAjZk3iLLiaEf+gpUdSHZ+b e7+CYtY0WhpAiL0IM3Y6VUI29gsXh4s8ESIOkaVZluJVEWOZVAIJ9oemtsRIe2m4BXem +Qag== X-Received: by 10.112.247.103 with SMTP id yd7mr1600533lbc.46.1449641796587; Tue, 08 Dec 2015 22:16:36 -0800 (PST) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:100184 > Wrong question; if you want to use sys.exit() in a way similar to C display > the error message first and invoke sys.exit() afterwards with a numerical > argument. > > -- oh ok , got it thanks :)