aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/fetch2/ssh.py')
-rw-r--r--lib/bb/fetch2/ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/ssh.py b/lib/bb/fetch2/ssh.py
index 34debe399..5e982ecf3 100644
--- a/lib/bb/fetch2/ssh.py
+++ b/lib/bb/fetch2/ssh.py
@@ -58,7 +58,7 @@ class SSH(FetchMethod):
'''Class to fetch a module or modules via Secure Shell'''
def supports(self, urldata, d):
- return __pattern__.match(urldata.url) != None
+ return __pattern__.match(urldata.url) is not None
def supports_checksum(self, urldata):
return False