
class Error(Exception):
    msg = ''

    def __str__(self):
        return self.msg

class NodeNotFound(Error):
    pass

class NodeExists(Error):
    pass

class NotSubscribed(Error):
    """
    Entity is not subscribed to this node.
    """

class SubscriptionExists(Error):
    pass

class Forbidden(Error):
    pass

class ItemForbidden(Error):
    pass

class ItemRequired(Error):
    pass

class NoInstantNodes(Error):
    pass

class InvalidConfigurationOption(Error):
    msg = 'Invalid configuration option'

class InvalidConfigurationValue(Error):
    msg = 'Bad configuration value'

class NodeNotPersistent(Error):
    pass

class NoRootNode(Error):
    pass


class Error(Exception):
    msg = ''

    def __str__(self):
        return self.msg


class NodeNotFound(Error):
    pass


class NodeExists(Error):
    pass


class NotSubscribed(Error):
    """
    Entity is not subscribed to this node.
    """


class SubscriptionExists(Error):
    pass


class Forbidden(Error):
    pass


class ItemForbidden(Error):
    pass


class ItemRequired(Error):
    pass


class NoInstantNodes(Error):
    pass


class InvalidConfigurationOption(Error):
    msg = 'Invalid configuration option'


class InvalidConfigurationValue(Error):
    msg = 'Bad configuration value'


class NodeNotPersistent(Error):
    pass


class NoRootNode(Error):
    pass

Adjust spacing to match Twisted's.
Adjust spacing to match Twisted's.

--HG--
extra : convert_revision : svn%3Ae60b0d31-0b1b-0410-851a-a02d0c527677/trunk%40258

  
  class Error(Exception):
      msg = ''
  
      def __str__(self):
          return self.msg
  
+ 
  class NodeNotFound(Error):
      pass
  
+ 
  class NodeExists(Error):
      pass
+ 
  
  class NotSubscribed(Error):
      """
      Entity is not subscribed to this node.
      """
  
+ 
  class SubscriptionExists(Error):
      pass
+ 
  
  class Forbidden(Error):
      pass
  
+ 
  class ItemForbidden(Error):
      pass
+ 
  
  class ItemRequired(Error):
      pass
  
+ 
  class NoInstantNodes(Error):
      pass
+ 
  
  class InvalidConfigurationOption(Error):
      msg = 'Invalid configuration option'
  
+ 
  class InvalidConfigurationValue(Error):
      msg = 'Bad configuration value'
+ 
  
  class NodeNotPersistent(Error):
      pass
  
+ 
  class NoRootNode(Error):
      pass
  
Adjust spacing to match Twisted's.
## Code Before:

class Error(Exception):
    msg = ''

    def __str__(self):
        return self.msg

class NodeNotFound(Error):
    pass

class NodeExists(Error):
    pass

class NotSubscribed(Error):
    """
    Entity is not subscribed to this node.
    """

class SubscriptionExists(Error):
    pass

class Forbidden(Error):
    pass

class ItemForbidden(Error):
    pass

class ItemRequired(Error):
    pass

class NoInstantNodes(Error):
    pass

class InvalidConfigurationOption(Error):
    msg = 'Invalid configuration option'

class InvalidConfigurationValue(Error):
    msg = 'Bad configuration value'

class NodeNotPersistent(Error):
    pass

class NoRootNode(Error):
    pass

## Instruction:
Adjust spacing to match Twisted's.
## Code After:

class Error(Exception):
    msg = ''

    def __str__(self):
        return self.msg


class NodeNotFound(Error):
    pass


class NodeExists(Error):
    pass


class NotSubscribed(Error):
    """
    Entity is not subscribed to this node.
    """


class SubscriptionExists(Error):
    pass


class Forbidden(Error):
    pass


class ItemForbidden(Error):
    pass


class ItemRequired(Error):
    pass


class NoInstantNodes(Error):
    pass


class InvalidConfigurationOption(Error):
    msg = 'Invalid configuration option'


class InvalidConfigurationValue(Error):
    msg = 'Bad configuration value'


class NodeNotPersistent(Error):
    pass


class NoRootNode(Error):
    pass
