LPgenerator/django-mmc — pull request #3 by orlovegor (2014-08-08 07:13:29+00:00)
Title: get script name from module string

we lose the final script name without modifying sys.argv if using a wrapper to run commands.
For example:
./manage.py maven rebuild_index --traceback

In this case "maven" is a script name as well as "rebuild_index", but MMC will store two log entries for the "maven" script instead of one log for each script.

https://github.com/saippuakauppias/django-maven