Skip to content

Commit

Permalink
Release 0.16.1
Browse files Browse the repository at this point in the history
Merge fix of ua-parser#132 from 0.15.x
  • Loading branch information
masklinn committed Aug 27, 2022
2 parents ab2e451 + 05be64d commit d7c73af
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ master ]
branches: [ '*' ]
pull_request:
branches: [ master ]
branches: [ '*' ]

jobs:
checks:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class sdist(_sdist):

setup(
name="ua-parser",
version="0.16.0",
version="0.16.1",
description="Python port of Browserscope's user agent parser",
author="PBS",
author_email="[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion ua_parser/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = (0, 16, 0)
VERSION = (0, 16, 1)
2 changes: 1 addition & 1 deletion ua_parser/user_agent_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def _lookup(ua, args):
return entry

if len(_PARSE_CACHE) >= MAX_CACHE_SIZE:
_PARSE_CACHE.pop(next(iter(_PARSE_CACHE)))
_PARSE_CACHE.clear()

v = _PARSE_CACHE[key] = {"string": ua}
return v
Expand Down

0 comments on commit d7c73af

Please sign in to comment.