[qmtest] BUG? create-tdb overwrites existing database

Mark Mitchell mark at codesourcery.com
Wed Jan 14 06:47:19 UTC 2004


The Python docs say that "isatty" only works under UNIX.

Thanks,

--
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
----- Original Message ----- 
From: "Anders Hasselqvist" <Anders.Hasselqvist at tss.teleca.se>
To: "QMTest List" <qmtest at codesourcery.com>
Sent: Tuesday, January 13, 2004 6:12 AM
Subject: RE: [qmtest] BUG? create-tdb overwrites existing database


> Hi,
> 
> I guess the answer sys.stdin.isatty() is too simple to be the solution.
> 
> Regards,
> --
> Anders Hasselqvist
> 
>  
> 
> > -----Original Message-----
> > From: Mark Mitchell [mailto:mark at codesourcery.com]
> > Sent: den 12 januari 2004 23:36
> > To: Scott Lowrey
> > Cc: QMTest List
> > Subject: Re: [qmtest] BUG? create-tdb overwrites existing database
> >
> > The command-line version of QMTest never prompts for
> > anything, although maybe it should.  Clearly, it should do 
> > that only when the standard input is a TTY, and I don't know 
> > how to figure that out under Windows. 
> > Does anybody here know that, by chance?
> > 
> > --
> > Mark Mitchell <mark at codesourcery.com>
> > CodeSourcery, LLC
> > 
> 



More information about the qmtest mailing list