

class ConfigurationError(StandardError):

    def __init__(self, message):
        StandardError.__init__(self, message)



class ConfigurationError(Exception):

    def __init__(self, message):
        super(Exception, self).__init__(message)

Use Exception instead of StandardError
Use Exception instead of StandardError

StandardError was deprecated in python 3.X.

  
  
- class ConfigurationError(StandardError):
+ class ConfigurationError(Exception):
  
      def __init__(self, message):
-         StandardError.__init__(self, message)
+         super(Exception, self).__init__(message)
  
Use Exception instead of StandardError
## Code Before:


class ConfigurationError(StandardError):

    def __init__(self, message):
        StandardError.__init__(self, message)

## Instruction:
Use Exception instead of StandardError
## Code After:


class ConfigurationError(Exception):

    def __init__(self, message):
        super(Exception, self).__init__(message)
