On 03/18/10 06:31 PM, Danek Duvall wrote:
...
How about:

     --- a/src/client.py
     +++ b/src/client.py
     @@ -942,9 +942,9 @@ def __api_plan_exception(op, noexecute):
              if e_type == api_errors.IpkgOutOfDateException:
                      msg(_("""\
      WARNING: pkg(5) appears to be out of date, and should be updated before
     -running %s.  Please update pkg(5) using 'pfexec pkg install
     -pkg:/package/pkg' and then retry the %s."""
     -                    ) % (op, op))
     +running %(op)s.  Please update pkg(5) using 'pfexec pkg install
     +pkg:/package/pkg' and then retry the %(op)s."""
     +                    ) % locals())

That works too.

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to