hotssh r29 - in trunk: . hotssh
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: hotssh r29 - in trunk: . hotssh
- Date: Thu, 24 Jul 2008 11:20:33 +0000 (UTC)
Author: walters
Date: Thu Jul 24 11:20:32 2008
New Revision: 29
URL: http://svn.gnome.org/viewvc/hotssh?rev=29&view=rev
Log:
Bug 544505: Ignore blank lines
Removed:
trunk/MANIFEST.in
Modified:
trunk/hotssh/sshwindow.py
Modified: trunk/hotssh/sshwindow.py
==============================================================================
--- trunk/hotssh/sshwindow.py (original)
+++ trunk/hotssh/sshwindow.py Thu Jul 24 11:20:32 2008
@@ -172,6 +172,8 @@
return
hosts = set()
for line in f:
+ if not line:
+ continue
hostip,rest = line.split(' ', 1)
if hostip.find(',') > 0:
host = hostip.split(',', 1)[0]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]