Fix wrong redirect when changing partial path or link name. Remove an unnecessary assignment in logic/models/base.py that would generate an error when an entity did not exist.
Patch by: Lennard de Rijk
Review by: Pawel Solyga
#!/usr/bin/env python
if __name__ == '__main__':
print 'This is not a standalone script. Please run it using tests/run.py.'