hotssh r30 - trunk/hotssh
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: hotssh r30 - trunk/hotssh
- Date: Thu, 24 Jul 2008 11:25:43 +0000 (UTC)
Author: walters
Date: Thu Jul 24 11:25:43 2008
New Revision: 30
URL: http://svn.gnome.org/viewvc/hotssh?rev=30&view=rev
Log:
Bug 544508: Ignore hashed host values
Modified:
trunk/hotssh/sshwindow.py
Modified: trunk/hotssh/sshwindow.py
==============================================================================
--- trunk/hotssh/sshwindow.py (original)
+++ trunk/hotssh/sshwindow.py Thu Jul 24 11:25:43 2008
@@ -172,7 +172,7 @@
return
hosts = set()
for line in f:
- if not line:
+ if not line or line.startswith('['):
continue
hostip,rest = line.split(' ', 1)
if hostip.find(',') > 0:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]