mirror of
https://opendev.org/x/pyghmi
synced 2025-01-27 11:28:02 +00:00
Return empty tuple rather than None
The ntp_servers is supposed to always return an iterable, fix to be compliant. Change-Id: I52b3c377a1ed2f4c1134699ad9e0f4f592c65c33
This commit is contained in:
parent
a7afc5b0e5
commit
6c55b39c28
@ -346,7 +346,7 @@ class OEMHandler(generic.OEMHandler):
|
||||
return self.smmhandler.get_ntp_servers()
|
||||
if self.has_tsma:
|
||||
return self.tsmahandler.get_ntp_servers()
|
||||
return None
|
||||
return ()
|
||||
|
||||
def set_ntp_enabled(self, enabled):
|
||||
if self.has_tsm or self.has_ami or self.has_asrock:
|
||||
|
Loading…
x
Reference in New Issue
Block a user