From 1e96d9ac166407994b8b09dddb89f5380eeffa46 Mon Sep 17 00:00:00 2001 From: prasad0896 Date: Mar 14 2017 14:51:23 +0000 Subject: Update pagure/exceptions.py Improve the docstring of pagure.exceptions.FileNotFoundException --- diff --git a/pagure/exceptions.py b/pagure/exceptions.py index d4e7a1a..e008f0b 100644 --- a/pagure/exceptions.py +++ b/pagure/exceptions.py @@ -37,8 +37,11 @@ class AccessLevelNotFound(PagureException): 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