| commit | 0312f051fe78d620a56371c7c07fce40c52a510e | [log] [tgz] |
|---|---|---|
| author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | Mon Apr 29 19:31:27 2019 +0900 |
| committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | Mon Apr 29 19:34:18 2019 +0900 |
| tree | 0b48176dad2aa7d0aa4d06c7d63042a9b39ea5e5 | |
| parent | 162c4166ce011f8dfca265549e6a343101a129aa [diff] |
plugin.py: Start plugin ID counter at ID 1 This was always intended, but was not well commented. The reason we start plugin ID counters at 1 is that we prefer relying on a falsy value to determine whether an ID holding variable has been set or not. This patch also adds a more informative assertion in Plugin._lookup() This by itself essentially fixes #1012