Add NotModifiedException class

This commit is contained in:
AKFish
2013-08-21 23:04:07 +08:00
parent bd7abb5877
commit 1e9ec2df08
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ class GithubObject(object):
self._storeAndUseAttributes(data)
self.__completed = True
return True
except: #GithubException.NotModifiedException:
except GithubException.NotModifiedException:
return False
class NonCompletableGithubObject(GithubObject):