Skip to content

Commit 33d3885

Browse files
Removed duplicate element in initializer
(does not make a difference to the resulting set, but reduces confusion potential)
1 parent a4b42ce commit 33d3885

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pygit2/errors.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
from _pygit2 import GitError
3131

3232

33-
value_errors = set([C.GIT_EEXISTS, C.GIT_EINVALIDSPEC, C.GIT_EEXISTS,
34-
C.GIT_EAMBIGUOUS])
33+
value_errors = set([C.GIT_EEXISTS, C.GIT_EINVALIDSPEC, C.GIT_EAMBIGUOUS])
3534

3635
def check_error(err, io=False):
3736
if err >= 0:

0 commit comments

Comments
 (0)