File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
22# -*- coding: utf-8 -*-
3- # ssh.alfredworkflow, v3.0
4- # Robin Breathe, 2013-2021
3+ # ssh.alfredworkflow, v3.1
4+ # Robin Breathe, 2013-2022
55
66import json
77import re
@@ -157,7 +157,7 @@ def complete():
157157 else :
158158 (user , host ) = (None , query )
159159
160- host_chars = (('\\ .' if x is '.' else x ) for x in list (host ))
160+ host_chars = (('\\ .' if x == '.' else x ) for x in list (host ))
161161 pattern = re .compile ('.*?\b ?' .join (host_chars ), flags = re .IGNORECASE )
162162
163163 hosts = Hosts (query = host , user = user )
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ Notes:
229229 <string >1 </string >
230230 </dict >
231231 <key >version </key >
232- <string >3.0 </string >
232+ <string >3.1 </string >
233233 <key >webaddress </key >
234234 <string >https://github.com/isometry/alfred-ssh </string >
235235 </dict >
You can’t perform that action at this time.
0 commit comments