Exemplo n.º 1
0
 def _type(self, value):
     """Type function that fixes up <repository> macros."""
     if self.__class__.repository is None:
         return value
     else:
         return self._original_type(Types.path(
             value.replace("<repository>", self.__class__.repository)))
Exemplo n.º 2
0
 def transform_value(self, value):
     return Types.path(value)
Exemplo n.º 3
0
 def transform_value(self, value):
     return Types.path(value)