sehmaschine/django-filebrowser — pull request #113 by angelol (2012-09-05 17:08:22+00:00)
Title: My Changes

Hi Patrick,

great piece of software, pretty useful. However, I needed to make some changes before it worked for me. I think they might also be useful to others.

1) When any error occurs during manage.py fb_version_generate, it will still print out "Generating version for file XXX..." without error but no version files will be generated. There is a big try: except: clause around the main routine which catches and hides all errors without message. The correct behaviour would be to stop and print out the exception.

2) fb_version_generate does not follow symlinks. This explains everything. I think it's very useful and usual in a server environment to use symlinks, so fb_version_generate should be able to work with them.

Cheers,
Angelo