Skip to content

Commit

Permalink
1.7.1dev: merge [17822] from 1.6-stable
Browse files Browse the repository at this point in the history
git-svn-id: http://trac.edgewall.org/intertrac/log:/trunk@17823 af82e41b-90c4-0310-8c96-b1721e28e2e2
  • Loading branch information
jomae committed Jun 10, 2024
2 parents 83c7b0a + 7a8ff69 commit be07f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trac/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ def has_resource(dist, module, resource_name):
if any('.'.join(names[:n + 1]) in provides
for n in range(len(names))):
return True
except (IOError, email.Errors.MessageError):
except (IOError, email.errors.MessageError):
pass
toplevel = resource_name.split('/')[0]
if dist.has_metadata('top_level.txt'):
Expand Down

0 comments on commit be07f7d

Please sign in to comment.