#!/usr/bin/python # -*- coding: utf-8 -*- """Application de la configuration EOLE """ import sys from creole.reconfigure import main from creole.error import UserExitError, LockError, UnlockError, UserExit from pyeole.ihm import only_root only_root() try: main() except (UserExitError, LockError, UnlockError): sys.exit(1) except UserExit: sys.exit(0) except: #FIXME: log & affichage géré au raise ? sys.exit(1)