X-Git-Url: https://code.grnet.gr/git/snf-image-creator/blobdiff_plain/aa2062ba36d87b174fcea2a5daf6b987cdc9b61b..136754298b63928e3ab593c2489fcb6e17c1332e:/image_creator/__init__.py diff --git a/image_creator/__init__.py b/image_creator/__init__.py index aec50d6..117c010 100644 --- a/image_creator/__init__.py +++ b/image_creator/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2011 GRNET S.A. All rights reserved. +# Copyright 2012 GRNET S.A. All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following @@ -35,6 +35,7 @@ __version__ = '0.1' import image_creator.os_type + def get_os_class(distro, osfamily): module = None classname = None @@ -50,4 +51,7 @@ def get_os_class(distro, osfamily): return getattr(module, classname) +class FatalError(Exception): + pass + # vim: set sta sts=4 shiftwidth=4 sw=4 et ai :