File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def check_dt_compatible_value(self, value):
6262 """
6363 # Match a value like 'qcom,apq8016-sbc':
6464 if value in open ('/proc/device-tree/compatible' ).read ():
65- return True
65+ return True
6666
6767 return False
6868
Original file line number Diff line number Diff line change @@ -315,9 +315,9 @@ def _armbian_id(self):
315315 def any_96boards (self ):
316316 """Check if the current board is any 96Boards-family board."""
317317 return (
318- self .detector .check_dt_compatible_value ("qcom,apq8016-sbc" )
319- or self .detector .check_dt_compatible_value ("hisilicon,hi3660-hikey960" )
320- or self .detector .check_dt_compatible_value ("hisilicon,hi6220-hikey" )
318+ self .detector .check_dt_compatible_value ("qcom,apq8016-sbc" )
319+ or self .detector .check_dt_compatible_value ("hisilicon,hi3660-hikey960" )
320+ or self .detector .check_dt_compatible_value ("hisilicon,hi6220-hikey" )
321321 )
322322
323323 @property
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ def _linux_id(self):
9191 elif "ODROID-C2" in hardware :
9292 linux_id = S905
9393
94- return None
94+ return linux_id
9595
9696 def __getattr__ (self , attr ):
9797 """
You can’t perform that action at this time.
0 commit comments