[Sugar-devel] [PATCH] Setting logging level of message "Gsm connection not set..." to warning from exception (SL #2247)
Dipankar Patro
dipankar at seeta.in
Sat Sep 18 13:03:15 EDT 2010
Currently the message appears as an error whereas it is just
a warning message. Developer should not get this message an error,
so I have set the logging level to warning from exception.
---
src/jarabe/model/network.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/jarabe/model/network.py b/src/jarabe/model/network.py
index 79e4360..72fa00a 100644
--- a/src/jarabe/model/network.py
+++ b/src/jarabe/model/network.py
@@ -891,7 +891,7 @@ def load_gsm_connection():
except Exception:
logging.exception('Error adding gsm connection to NMSettings.')
else:
- logging.exception("No gsm connection was set in GConf.")
+ logging.warning("No gsm connection was set in GConf.")
def load_connections():
load_wifi_connections()
--
1.7.0.4
More information about the Sugar-devel
mailing list