[24388] in Source-Commits
/svn/athena r23983 - in trunk/debathena/debathena/console: . debian
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sun Aug 30 01:21:12 2009
Date: Sun, 30 Aug 2009 01:21:00 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <200908300521.n7U5L0wm021393@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: geofft
Date: 2009-08-30 01:21:00 -0400 (Sun, 30 Aug 2009)
New Revision: 23983
Modified:
trunk/debathena/debathena/console/debathena-console
trunk/debathena/debathena/console/debian/changelog
Log:
In console:
* Fix a line that used a variable before defining it.
* Remove unwanted code left around from debugging.
Modified: trunk/debathena/debathena/console/debathena-console
===================================================================
--- trunk/debathena/debathena/console/debathena-console 2009-08-30 02:06:06 UTC (rev 23982)
+++ trunk/debathena/debathena/console/debathena-console 2009-08-30 05:21:00 UTC (rev 23983)
@@ -197,10 +197,6 @@
# iterator to point to just after the inserted text.
iter = text_buffer.get_end_iter()
- text_buffer.insert_with_tags_by_name(iter, "This is stdout\n", "stdout")
- text_buffer.insert_with_tags_by_name(iter, "This is stderr\n", "stderr")
- text_buffer.insert_with_tags_by_name(iter, "This is more stdout\n", "stdout")
-
def start_listening(self, text_buffer, text_view, fds):
'''
Sets up a gobject event listener that adds text to the textview whenever
@@ -233,8 +229,8 @@
def main():
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
if len(sys.argv) >= 2:
- type, fd = x.split(':')
- ConsoleViewer(fds=[(type, int(fd)) for x in sys.argv[1:]])
+ ConsoleViewer(fds=[(type, int(fd)) for x in sys.argv[1:]
+ for type, fd in [x.split(':')]])
else:
ConsoleViewer(fds=[("stdout", 0)])
gtk.main()
Modified: trunk/debathena/debathena/console/debian/changelog
===================================================================
--- trunk/debathena/debathena/console/debian/changelog 2009-08-30 02:06:06 UTC (rev 23982)
+++ trunk/debathena/debathena/console/debian/changelog 2009-08-30 05:21:00 UTC (rev 23983)
@@ -1,3 +1,10 @@
+debathena-console (1.1) unstable; urgency=low
+
+ * Fix a line that used a variable before defining it.
+ * Remove unwanted code left around from debugging.
+
+ -- Geoffrey Thomas <geofft@mit.edu> Sun, 30 Aug 2009 01:16:24 -0400
+
debathena-console (1.0) unstable; urgency=low
* Initial release.