[gnoduino] fix error printing during linking



commit 92d46df3827124f4bd1f3625908f1b2662314304
Author: Lucian Langa <lucilanga gnome org>
Date:   Sat Apr 7 20:41:49 2012 +0200

    fix error printing during linking

 src/compiler.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/compiler.py b/src/compiler.py
index 8d0a1ba..b58cc31 100644
--- a/src/compiler.py
+++ b/src/compiler.py
@@ -349,7 +349,7 @@ def validateLib(library, tempobj, flags, output, notify):
 						(run, sout) = misc.runProg(compline)
 						misc.printLogMessageLn(sout)
 						if run == False:
-							misc.printError(notify, output, _("Library Error"), sout)
+							misc.printErrorLn(notify, output, _("Library Error"), sout)
 							raise NameError('libs compile error')
 						res.append(os.path.join(os.path.dirname(tempobj), \
 							os.path.basename(i.replace(".c", ".o"))))
@@ -372,7 +372,7 @@ def validateLib(library, tempobj, flags, output, notify):
 						(run, sout) = misc.runProg(compline)
 						misc.printLogMessageLn(sout)
 						if run == False:
-							misc.printError(notify, output, _("Library Error"), sout)
+							misc.printErrorLn(notify, output, _("Library Error"), sout)
 							raise NameError('libs compile error')
 						res.append(os.path.join(os.path.dirname(tempobj), \
 							os.path.basename(i.replace(".cpp", ".o"))))



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