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

jedie opened this Issue Jun 4, 2012 · 3 comments

1 participant


new in python 2.7 ?

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

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

fixed with f24648d

@jedie jedie closed this Jun 4, 2012

Seems not to be fixed:

  File "/home/jens/PyLucid_env/lib/python2.6/site-packages/reversion_compare/", 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 Jun 5, 2012

fixed with 4e47a28

@jedie jedie closed this Jun 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment