Add an "id" property for integration instances.

Review Request #9284 — Created Oct. 19, 2017 and submitted

chipx86
Djblets
release-0.10.x
6430cb3...
djblets

This adds an id property on integrations that works as an alias for
the integration_id property. While the latter is preferred, this alias
is necessary for some hooks to retain compatibiliy with both extensions
(which use id) and integrations (which did not).

Made use of this with an integration and a hook that needed the ID. It
didn't crash.

Unit tests pass.

david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.10.x (771621c)
Loading...