jhbuild r2092 - in trunk: . jhbuild/frontends



Author: fpeters
Date: Tue May 13 10:18:10 2008
New Revision: 2092
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2092&view=rev

Log:
* jhbuild/frontends/terminal.py: don't mix xterm control characters and
UTF-8 output.  (closes: #532932)



Modified:
   trunk/ChangeLog
   trunk/jhbuild/frontends/terminal.py

Modified: trunk/jhbuild/frontends/terminal.py
==============================================================================
--- trunk/jhbuild/frontends/terminal.py	(original)
+++ trunk/jhbuild/frontends/terminal.py	Tue May 13 10:18:10 2008
@@ -93,7 +93,9 @@
             self.display_status_line(progress_percent, module_num, msg)
 
         if is_xterm:
-            sys.stdout.write('\033]0;jhbuild: %s%s\007' % (msg, progress))
+            sys.stdout.write('\033]0;jhbuild:')
+            sys.stdout.write('%s%s' % (msg, progress))
+            sys.stdout.write('\007')
             sys.stdout.flush()
         self.trayicon.set_tooltip('%s%s' % (msg, progress))
 



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