Edgewall Software

Changes between Initial Version and Version 1 of Ticket #12680, comment 7


Ignore:
Timestamp:
Feb 10, 2017, 10:21:29 PM (7 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12680, comment 7

    initial v1  
    11I think we can even use this approach to simplify the timeline web_ui.py code, which used to do something like that.
    22
    3 Please try out log:cboos.git@t16280-component_guard.
     3Please try out log:cboos.git@t12680-component_guard.
    44
    55I'd like to generalize the use of this `component_guard`, but I still wonder if there wouldn't be some even better way to do this, combining the try/except with the iteration on the components. If only we could yield multiple times in the context manager... We could use an inline function and a decorator, a bit like we did with the 0.12 DB API, but it's not that nice either: