283
267
self.requesting_user = requesting_user
287
270
class CodeImportAlreadyRunning(Exception):
288
271
"""Raised when the user requests an import that is already running."""
292
276
class TooNewRecipeFormat(Exception):
293
277
"""The format of the recipe supplied was too new."""
295
281
def __init__(self, supplied_format, newest_supported):
296
282
super(TooNewRecipeFormat, self).__init__()
297
283
self.supplied_format = supplied_format
298
284
self.newest_supported = newest_supported
302
287
class RecipeBuildException(Exception):
304
291
def __init__(self, recipe, distroseries, template):
306
293
self.distroseries = distroseries