Received Sat 19 Feb 2005  9:23pm +1100 from Reuben Thomas:
> On Sat, 19 Feb 2005, Graham Williams wrote:
> 
> >Okay. I do have the framework in place for doing this. But I use a
> >lot of greps! Anyhow, in /usr/share/wajig/changes.py I have changed
> >line 172 from
> >
> >   perform.execute(command, noquiet=True) # root is not required.
> >
> >to
> >
> >   perform.execute(command, noquiet=True, langC=True) # root is not 
> >   required.
> >
> >This is where the specific grep command you mention is called
> >(daily-upgrade). If you are able to test this (i.e., you have access
> >to root and can make this one change in your installed wajig) and
> >confirm it fixes your problem that would be most appreciated.
> 
> OK, this does help, but then another grep process runs after the line
> 
>    This is the same as the previous count with 0 new packages.
> 
> is output, and similarly takes a lot longer than it used to, though not 
> as long as the first grep.

Okay.  In the same file I now include, near line 220:

    perform.execute(gen_installed_command_str() + " > " + ifile,
                    langC=True, noquiet=1)

I might be able to automate this to check if the string to execute
contains a grep, then automatically set langC.

Regards,
Graham


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to