Skip to content

Commit

Permalink
Merge branch 'Developer' into Python3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Ev0-BH committed Jan 28, 2024
2 parents 714f17d + 57099df commit c08788d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/python/Components/OnlineUpdateCheck.py
Expand Up @@ -98,10 +98,10 @@ def getFeedStatus(self):
except:
print("[OnlineUpdateCheck][getFeedStatus] ERROR:", sys.exc_info()[0])
trafficLight = -2
if SystemInfo["imagetype"] == "developer" and "openbhdev" in SystemInfo["feedsurl"]:
elif SystemInfo["imagetype"] == "developer" and "openbhdev" in SystemInfo["feedsurl"]:
print("[OnlineUpdateCheck][getFeedStatus] Official developer feeds")
trafficLight = "developer"
elif officialReleaseFeedsUri not in SystemInfo["feedsurl"]: # if not using official feeds mark as alien. There is no status test for alien feeds (including official developer feeds).
else: # if not using official feeds mark as alien. There is no status test for alien feeds (including official developer feeds).
print("[OnlineUpdateCheck][getFeedStatus] Alien feeds url: %s" % SystemInfo["feedsurl"])
status = 0
trafficLight = "alien"
Expand Down Expand Up @@ -249,7 +249,7 @@ def createCheckJob(self):

def JobStart(self):
config.softwareupdate.updatefound.setValue(False)
if (SystemInfo["imagetype"] != "release" and feedsstatuscheck.getFeedsBool() == "unknown") or (SystemInfo["imagetype"] == "release" and feedsstatuscheck.getFeedsBool() in ("stable", "unstable")):
if feedsstatuscheck.getFeedsBool() in ("alien", "developer", "stable", "unstable"):
print("[OnlineUpdateCheckPoller] Starting background check.")
feedsstatuscheck.startCheck()
else:
Expand Down

0 comments on commit c08788d

Please sign in to comment.