~ubuntuone-hackers/raven-python/trunk

« back to all changes in this revision

Viewing changes to raven/contrib/django/serializers.py

  • Committer: David Cramer
  • Date: 2013-09-14 01:04:42 UTC
  • Revision ID: git-v1:fa1de34ff44fb6eea73fa98cb5e0c3444776ee03
Update flake8 configuration

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
        pre = value.__class__.__name__[1:]
28
28
        if not (hasattr(value, '%s__func' % pre) or
29
 
            hasattr(value, '%s__unicode_cast' % pre) or
30
 
            hasattr(value, '%s__text_cast' % pre)):
 
29
                hasattr(value, '%s__unicode_cast' % pre) or
 
30
                hasattr(value, '%s__text_cast' % pre)):
31
31
            return False
32
32
 
33
33
        return True