Skip to content

Commit

Permalink
cleanup: next relase will be a major one
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Apr 16, 2023
1 parent 544d172 commit 7ea8e16
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions plone/uuid/generator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from plone.uuid.interfaces import IUUIDGenerator
from zope.deprecation import deprecate
from zope.interface import implementer

import uuid
Expand All @@ -14,11 +13,3 @@ class UUID4Generator:

def __call__(self):
return uuid.uuid4().hex


@deprecate(
"UUID1Generator was renamed to UUID4Generator, as we use uuid4 instead of "
"uuid1. Please use UUID4Generator instead."
)
class UUID1Generator(UUID4Generator):
"""BBB. Remove with next major version."""

0 comments on commit 7ea8e16

Please sign in to comment.