From d5634b2b29bc1fd93801595e41975db7bc3de810 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 1 Dec 2013 13:49:20 +0100 Subject: [PATCH] [entropy.db.skel] write locking output to stderr This avoids breaking scriptability of --quiet options --- lib/entropy/db/skel.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/entropy/db/skel.py b/lib/entropy/db/skel.py index 247d4448a..402ed3b7f 100644 --- a/lib/entropy/db/skel.py +++ b/lib/entropy/db/skel.py @@ -433,6 +433,7 @@ class EntropyRepositoryBase(TextInterface, EntropyRepositoryPluginStore): brown(_("Acquiring shared lock on")), darkgreen(self.name), ), + level = "warning", # use stderr, avoid breaking --quiet back = True, importance = 0) @@ -460,6 +461,7 @@ class EntropyRepositoryBase(TextInterface, EntropyRepositoryPluginStore): brown(_("Acquiring exclusive lock on")), darkgreen(self.name), ), + level = "warning", # use stderr, avoid breaking --quiet back = True, importance = 0)