Skip to content

Commit

Permalink
keyring.util.properties have been deprecated (gh#jaraco/keyring#593).
Browse files Browse the repository at this point in the history
Use jaraco.classes.properties instead (and yes, of course, the
upstream cannot keep API stable).

Fixes marcus-h#2
  • Loading branch information
mcepl committed Jul 24, 2023
1 parent b6ceb1e commit b2782f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keyutils/backend.py
Expand Up @@ -3,7 +3,7 @@
import errno

from keyring.backend import KeyringBackend
from keyring.util import properties
from jaraco.classes import properties
from keyring.errors import PasswordDeleteError

from keyutils.keys import session_keyring
Expand All @@ -20,7 +20,7 @@ def __init__(self, keyring_name='python-keyring-keyutils',
self._key_type = key_type
self._payload_encoding = payload_encoding

@properties.ClassProperty
@properties.classproperty
@classmethod
def priority(cls):
return 1
Expand Down

0 comments on commit b2782f0

Please sign in to comment.