diff --git a/tldap/base.py b/tldap/base.py
index <HASH>..<HASH> 100644
--- a/tldap/base.py
+++ b/tldap/base.py
@@ -132,8 +132,9 @@ class LDAPmeta(type):
                     # an attribute in this class has replaced the field
                     pass
                 elif field.name in parent_field_names:
-                    if type(field) != \
-                            type(parent_field_names[field.name]):  # NOQA
+                    field_type = type(field)
+                    parent_field_type = type(parent_field_names[field.name])
+                    if field_type != parent_field_type:
                         raise tldap.exceptions.FieldError(
                             'In class %r field %r from parent clashes '
                             'with field of similar name from base class %r '
Trick pep8 into ignoring E<I>.

We really do need to compare types here, the types should be identical.

Change-Id: I<I>d8e<I>b1b7be<I>b<I>a<I>c<I>fecac