old_contents: #vim:set et sts=4 sw=4: 
  # 
  # Flies Python Client
  #
  # Copyright (c) 2010 Jian Ni <jni@redhat.com>
  # Copyright (c) 2010 Red Hat, Inc.
  #
  # This library is free software; you can redistribute it and/or
  # modify it under the terms of the GNU Lesser General Public
  # License as published by the Free Software Foundation; either
  # version 2 of the License, or (at your option) any later version.
  #
  # This library is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU Lesser General Public License for more details.
  #
  # You should have received a copy of the GNU Lesser General Public
  # License along with this program; if not, write to the
  # Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  # Boston, MA  02111-1307  USA
  
  
  __all__ = (
          "NoSuchProjectException", "InvalidOptionException", 
          "NoSuchFileException", "InvalidPOTFileException",
          "UnAuthorizedException", "BadRequestException",
          "ProjectExistException", "UnAvaliableResourceException",
          "UnAvaliablePOTException", "BadRequestBodyException",
          "SameNameDocumentException"
  )
  class FliesException(Exception):
      def __init__(self, expr, msg):
          self.expr = expr
          self.msg = msg
  
  class NoSuchProjectException(FliesException):
      pass
  
  class InvalidOptionException(FliesException):
      pass 
  
  class NoSuchFileException(FliesException):
      pass 
  
  class InvalidPOTFileException(FliesException):
      pass 
  
  class UnAuthorizedException(FliesException):
      pass 
  
  class UnAvaliablePOTException(FliesException):
      pass 
  
  class UnAvaliableResourceException(FliesException):
      pass
  
  class BadRequestException(FliesException):
      pass
  
  class ProjectExistException(FliesException):
      pass
  
  class BadRequestBodyException(FliesException):
      pass
  
  class SameNameDocumentException(FliesException):
      pass
  
  
new_contents: #vim:set et sts=4 sw=4: 
  # 
  # Flies Python Client
  #
  # Copyright (c) 2010 Jian Ni <jni@redhat.com>
  # Copyright (c) 2010 Red Hat, Inc.
  #
  # This library is free software; you can redistribute it and/or
  # modify it under the terms of the GNU Lesser General Public
  # License as published by the Free Software Foundation; either
  # version 2 of the License, or (at your option) any later version.
  #
  # This library is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU Lesser General Public License for more details.
  #
  # You should have received a copy of the GNU Lesser General Public
  # License along with this program; if not, write to the
  # Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  # Boston, MA  02111-1307  USA
  
  
  __all__ = (
          "NoSuchProjectException", "InvalidOptionException", 
          "NoSuchFileException", "InvalidPOTFileException",
          "UnAuthorizedException", "BadRequestException",
          "ProjectExistException", "UnAvaliableResourceException",
          "UnAvaliablePOTException", "BadRequestBodyException",
          "SameNameDocumentException","InternalServerError"
  )
  class FliesException(Exception):
      def __init__(self, expr, msg):
          self.expr = expr
          self.msg = msg
  
  class InternalServerError(FliesException):
      pass
  
  class NoSuchProjectException(FliesException):
      pass
  
  class InvalidOptionException(FliesException):
      pass 
  
  class NoSuchFileException(FliesException):
      pass 
  
  class InvalidPOTFileException(FliesException):
      pass 
  
  class UnAuthorizedException(FliesException):
      pass 
  
  class UnAvaliablePOTException(FliesException):
      pass 
  
  class UnAvaliableResourceException(FliesException):
      pass
  
  class BadRequestException(FliesException):
      pass
  
  class ProjectExistException(FliesException):
      pass
  
  class BadRequestBodyException(FliesException):
      pass
  
  class SameNameDocumentException(FliesException):
      pass
  
  
subject: Add InternalServerError to error.py