• Jérome Perrin's avatar
    Update Cached Convertable interface · 9ffbfd64
    Jérome Perrin authored
    - The interface says that getConversionSize raises a KeyError when this cache
      does not exist. Update implementation accordingly.
    - update getConversion to always return a string for the data. The caller
      should not have to worry about the data format.
    - warn when an OFS.Image is passed to setConversion
    9ffbfd64
cached_convertable.py 3.21 KB