Skip to content

Commit

Permalink
Merge pull request #38 from seomoz/dan/case-insensitive-user
Browse files Browse the repository at this point in the history
Case-insensitive user
  • Loading branch information
Dan Lecocq authored Nov 16, 2016
2 parents 28fc42b + e9e2423 commit a8b0106
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion reppy/rep-cpp
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

setup(
name = 'reppy',
version = '0.4.2',
version = '0.4.3',
description = 'Replacement robots.txt Parser',
long_description = '''Replaces the built-in robotsparser with a
RFC-conformant implementation that supports modern robots.txt constructs like
Expand Down
2 changes: 1 addition & 1 deletion tests/test_robots.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def test_exposes_sitemaps(self):
def test_case_insensitivity(self):
'''Make sure user agent matches are case insensitive'''
robot = robots.Robots.parse('http://example.com/robots.txt', '''
User-agent: agent
User-agent: Agent
Disallow: /path
''')
self.assertFalse(robot.allowed('/path', 'agent'))
Expand Down

0 comments on commit a8b0106

Please sign in to comment.