![](https://secure.gravatar.com/avatar/fe3ce7b9b9500898eeb90f63883a4b18.jpg?s=120&d=mm&r=g)
29 Jul
2012
29 Jul
'12
5:28 p.m.
$ bzr diff >dif2 bzr: ERROR: exceptions.UnboundLocalError: local variable 'diff_file' referenced before assignment Python is sentisive to indentation levels. May be you've messed up the whitespace when copy-pasting from the kb? I'll attach the correct __init__.py to this email.
Yep, that was the reason. Thanks. Best regards. HF