Changeset 7071


Ignore:
Timestamp:
11 Nov 2011, 07:46:23 (13 years ago)
Author:
uli
Message:

Extend IExtFileStore interface to support attributes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py

    r7066 r7071  
    640640        """
    641641
    642     def getFileByContext(context):
     642    def getFileByContext(context, attr=None):
    643643        """Get raw file data stored for the given context.
    644644
    645645        Returns a file descriptor open for reading or ``None`` if no
    646646        such file can be found.
     647
     648        Both, `context` and `attr` might be used to find (`context`)
     649        and feed (`attr`) an appropriate file name chooser.
    647650
    648651        This is a convenience method.
Note: See TracChangeset for help on using the changeset viewer.