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:
Jarrod Johnson 2023-08-16 08:13:41 -04:00
parent a7afc5b0e5
commit 6c55b39c28
1 changed files with 1 additions and 1 deletions

View File

@ -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: