Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

AttributeError: 'module' object has no attribute '_format_range_unified' #5

Closed
jedie opened this Issue · 3 comments

1 participant

@jedie
Owner

new in python 2.7 ?

  File "/home/jens/PyLucid_env/lib/python2.6/site-packages/reversion_compare/helpers.py", line 81, in unified_diff
    file1_range = difflib._format_range_unified(first[1], last[2])

AttributeError: 'module' object has no attribute '_format_range_unified'
@jedie
Owner

fixed with f24648d

@jedie jedie closed this
@jedie
Owner

Seems not to be fixed:

  File "/home/jens/PyLucid_env/lib/python2.6/site-packages/reversion_compare/helpers.py", line 92, in unified_diff
    yield '@@ -{} +{} @@'.format(file1_range, file2_range)

ValueError: zero length field name in format

btw. me must add unitests for this!

@jedie jedie reopened this
@jedie
Owner

fixed with 4e47a28

@jedie jedie closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.