Roundup Tracker - Issues

Message4763

Author rouilj
Recipients coderanger, rouilj
Date 2013-01-21.01:52:01
Message-id <1358733121.57.0.69656888832.issue2550789@psf.upfronthosting.co.za>
In-reply-to
Well there is a workaround using expect or pexpect or similar perl
module but I agree this should be a feature of the core code.

This should be relatively easy. A patch to roundup/admin.py in the
do_initialize function should make this work. I suggest using:

  initialize -f filename

for this case and checking for args > 1 and args[1] cto be -f
then opening the filename and reading the first line for the 
password. The code change needs to occur near:

         # password
        if len(args) > 1:
            adminpw = args[1]
        else:

It should keep it backwards compatible when used with a
single password argument. (Also is the code above a bug?
initialise shouldn't allow > 1 argument currently as the
additional args are ignored.)
History
Date User Action Args
2013-01-21 01:52:01rouiljsetmessageid: <1358733121.57.0.69656888832.issue2550789@psf.upfronthosting.co.za>
2013-01-21 01:52:01rouiljsetrecipients: + rouilj, coderanger
2013-01-21 01:52:01rouiljlinkissue2550789 messages
2013-01-21 01:52:01rouiljcreate