Permalink
Browse files

Fix assertion

  • Loading branch information...
1 parent d159038 commit 3f24c89770d3edc1137216741a89c7983e719c6b @dcramer dcramer committed Sep 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 uuidfield/fields.py
View
@@ -13,7 +13,7 @@ class UUIDField(Field):
# __metaclass__ = models.SubfieldBase
def __init__(self, version=4, node=None, clock_seq=None, namespace=None, name=None, auto=False, *args, **kwargs):
- assert(version in (1, 3, 4, 5), "UUID version %s is not supported." % (version,))
+ assert version in (1, 3, 4, 5), "UUID version %s is not supported." % (version,)
self.auto = auto
self.version = version
# We store UUIDs in hex format, which is fixed at 32 characters.

0 comments on commit 3f24c89

Please sign in to comment.