remove obsolete MissingEnvironmentVariableError()

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-02-13 16:14:48 +01:00
parent ba0130594c
commit 0861276436
2 changed files with 1 additions and 11 deletions

View File

@ -44,16 +44,6 @@ class Error(Exception):
"""Base exception class for this project"""
pass
class MissingEnvironmentVariableError(Error):
"""Raised when a required environment variable is not set."""
def __init__(self, name):
self.name = name
def __str__(self):
return 'Missing required environment variable: ' + str(self.name)
def file_to_list(filename):
"""Return list from \n seperated file"""
if os.path.isfile(filename):

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# 2011 Nico Schottelius (nico-cdist at schottelius.org)
# 2011-2012 Nico Schottelius (nico-cdist at schottelius.org)
#
# This file is part of cdist.
#