Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jedie opened this issue Jun 4, 2012 · 3 comments
Closed
Labels

Comments

@jedie
Copy link
Owner

jedie commented Jun 4, 2012

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
Copy link
Owner Author

jedie commented Jun 4, 2012

fixed with f24648d

@jedie jedie closed this as completed Jun 4, 2012
@jedie
Copy link
Owner Author

jedie commented Jun 5, 2012

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 Jun 5, 2012
@jedie
Copy link
Owner Author

jedie commented Jun 11, 2012

fixed with 4e47a28

@jedie jedie closed this as completed Jun 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant