Shawn Walker wrote:
Greetings,

The following diff is a change for RFE 1406:

1406 pkg refresh should show progress indicator

Since pkg refresh is often a long-running operation, this just changes it to provide some feedback to the user by default so they're not left wondering what pkg(1) is doing.

diff -r c91ca95d857f src/client.py
--- a/src/client.py    Mon May 04 22:46:29 2009 -0700
+++ b/src/client.py    Wed May 06 13:45:18 2009 -0500
@@ -1634,7 +1634,7 @@

         try:
                 api_inst = api.ImageInterface(img_dir, CLIENT_API_VERSION,
-                    get_tracker(quiet=True), None, PKG_CLIENT_NAME)
+                    get_tracker(), None, PKG_CLIENT_NAME)
         except api_errors.ImageNotFoundException, e:
                 error(_("'%s' is not an install image") % e.user_dir)
                 return 1

Looking for a reviewer.

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

Reply via email to