
class ChefError(Exception):
    """Top-level Chef error."""

class ChefServerError(ChefError):
    """An error from a Chef server. May include a HTTP response code."""
    def __init__(self, message, code=None):
        ChefError.__init__(self, message)
        self.code = code
        


class ChefError(Exception):
    """Top-level Chef error."""

class ChefServerError(ChefError):
    """An error from a Chef server. May include a HTTP response code."""

    def __init__(self, message, code=None):
        super(ChefError, self).__init__(message)
        self.code = code


Use super() for great justice.
Use super() for great justice.

  
  class ChefError(Exception):
      """Top-level Chef error."""
  
  class ChefServerError(ChefError):
      """An error from a Chef server. May include a HTTP response code."""
+ 
      def __init__(self, message, code=None):
-         ChefError.__init__(self, message)
+         super(ChefError, self).__init__(message)
          self.code = code
-         
  
+ 
Use super() for great justice.
## Code Before:

class ChefError(Exception):
    """Top-level Chef error."""

class ChefServerError(ChefError):
    """An error from a Chef server. May include a HTTP response code."""
    def __init__(self, message, code=None):
        ChefError.__init__(self, message)
        self.code = code
        

## Instruction:
Use super() for great justice.
## Code After:

class ChefError(Exception):
    """Top-level Chef error."""

class ChefServerError(ChefError):
    """An error from a Chef server. May include a HTTP response code."""

    def __init__(self, message, code=None):
        super(ChefError, self).__init__(message)
        self.code = code

