[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-devel] Re: [Bug 269028] Re: upgrade_db script does not ask for p
From: |
Karsten Hilbert |
Subject: |
[Gnumed-devel] Re: [Bug 269028] Re: upgrade_db script does not ask for password on MS Windows and fails |
Date: |
Sun, 14 Sep 2008 01:35:06 +0200 |
-------- Original-Nachricht --------
> Datum: Thu, 11 Sep 2008 16:17:35 -0000
> Von: shilbert <address@hidden>
> An: address@hidden
> Betreff: [Bug 269028] Re: upgrade_db script does not ask for password on MS
> Windows and fails
> Actually the error seems to be something else. If I remove the %s ,
> %user on line 181 and provide a simple string like "Please provide your
> password" it shows a prompt in the shell.
>
> It then has the same problem on line 306 which contains a [%s] as well
> in a password prompt.
>
> For whatever it is worth.
As a fix try using two statements:
print "you may now be asked for the password of user %s" % username
getpass("blah foo:")
Karsten
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnumed-devel] Re: [Bug 269028] Re: upgrade_db script does not ask for password on MS Windows and fails,
Karsten Hilbert <=