hotssh r30 - trunk/hotssh



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]