Skip to content

Commit f6c04ee

Browse files
authored
Fixed return values of requirements_contains()
1 parent 919877e commit f6c04ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed/mbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,7 @@ def _find_file_paths(self, paths, fl):
16011601
def requirements_contains(self, library_name):
16021602
req_path = self.get_requirements()
16031603
if not req_path:
1604-
return None
1604+
return False
16051605

16061606
req_file = 'requirements.txt'
16071607
with open(os.path.join(req_path, req_file), 'r') as f:

0 commit comments

Comments
 (0)