Check-in [840b064ba0]
Overview
| Comment: | Fix priority/status: obsolete check. | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | trunk | 
| Files: | files | file ages | folders | 
| SHA1: | 840b064ba01ce4be3482639c995ca8d4 | 
| User & Date: | mario on 2016-11-16 19:06:15 | 
| Other Links: | manifest | tags | 
Context
| 2016-11-16 | ||
| 19:06 | Add CRLF line endings to Win post-setup scripts. check-in: 0c337185bb user: mario tags: trunk | |
| 19:06 | Fix priority/status: obsolete check. check-in: 840b064ba0 user: mario tags: trunk | |
| 2016-11-14 | ||
| 22:04 | Use web online manual as fallback if /usr/share/docs/streamtuner/help* absent. check-in: fe43e46f81 user: mario tags: trunk | |
Changes
Modified pluginconf.py from [cb1a943cc7] to [1a7e07fce3].
| ︙ | ︙ | |||
| 420 421 422 423 424 425 426 | 
    def valid(self, newpl):
        id = newpl.get("$name", "__invalid")
        have_ver = self.have.get(id, {}).get("version", "0")
        if id.find("__") == 0:
            pass
        elif newpl.get("api") not in ("python", "streamtuner2"):
            pass
 | | | 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 | 
    def valid(self, newpl):
        id = newpl.get("$name", "__invalid")
        have_ver = self.have.get(id, {}).get("version", "0")
        if id.find("__") == 0:
            pass
        elif newpl.get("api") not in ("python", "streamtuner2"):
            pass
        elif set((newpl.get("status"), newpl.get("priority"))).intersection(set(("obsolete", "broken"))):
            pass
        elif have_ver >= newpl.get("version", "0.0"):
            pass
        else:
            return True
    # Split trivial "pkg, mod >= 1, uikit < 4.0" list
 | 
| ︙ | ︙ |