Check-in [8289ad11b4]
Overview
| Comment: | Fix `id` reference in dependency resolver. | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | trunk | 
| Files: | files | file ages | folders | 
| SHA1: | 8289ad11b4e81bbb559d735566853d12 | 
| User & Date: | mario on 2015-05-23 15:26:24 | 
| Other Links: | manifest | tags | 
Context
| 2015-05-23 | ||
| 15:28 | Simplify favicon callbacks, use channel= instead of artifical pixstore= tuple. update_rows() itself extracts liststore and indicies now. Introduce `img_resize` channel option for `img` banner rescaling in favicon module. check-in: 867c9f9f94 user: mario tags: trunk | |
| 15:26 | Fix `id` reference in dependency resolver. check-in: 8289ad11b4 user: mario tags: trunk | |
| 01:08 | Add more subreddits to category list. Placeholder groups with "→" decorator. Allow web-only links per config option (start web browser for sptfy/sndcl etc.) check-in: 3746af529b user: mario tags: trunk | |
Changes
Modified pluginconf.py from [8696565c66] to [f129e17d25].
| ︙ | ︙ | |||
| 412 413 414 415 416 417 418 | 
            if not self.cmp(d, self.have):
                return False
        return True
    # basic list pre-filtering (skip __init__, filter by api:,
    # exclude installed & same-version plugins)
    def valid(self, newpl):
 | < > | 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 | 
            if not self.cmp(d, self.have):
                return False
        return True
    # basic list pre-filtering (skip __init__, filter by api:,
    # exclude installed & same-version plugins)
    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") != "streamtuner2":
            pass
        elif have_ver >= newpl.get("version", "0.0"):
            pass
        else:
 | 
| ︙ | ︙ |