[gnoduino] improve error message on missing core files



commit a3e3d67d62fcbc0ac306d5d60bf9a63631af0416
Author: Lucian Langa <lucilanga gnome org>
Date:   Sun Apr 8 21:21:10 2012 +0200

    improve error message on missing core files

 src/misc.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/misc.py b/src/misc.py
index 9bf406f..d394ddb 100644
--- a/src/misc.py
+++ b/src/misc.py
@@ -51,7 +51,7 @@ def get_path(main_path, default=None):
             return path
     if default:
         return default
-    raise SystemExit(_("Cannot find %s") % main_path)
+    raise SystemExit(_("Unable to locate %s\nArduino SDK missing or broken.") % main_path)
 
 def getArduinoFile(filename):
 	return get_path(filename)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]