#2104 Update pagure/exceptions.py
Merged 7 years ago by pingou. Opened 7 years ago by pingou.

file modified
+5 -2
@@ -37,8 +37,11 @@ 

  

  

  class FileNotFoundException(PagureException):

-     ''' Exception thrown when trying to create a repository that already

-     exists.

+     ''' Exception thrown when the desired file is not found.

+ 

+     This exception is found when the file is searched in a git repo or when

+     setting up one of the git hook.

+ 

      '''

      pass

  

Improve the docstring of pagure.exceptions.FileNotFoundException

Thanks for the review :)

rebased

7 years ago

Pull-Request has been merged by pingou

7 years ago