/usr/share/pyshared/mptt/exceptions.py is in python-django-mptt 0.6.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | """
MPTT exceptions.
"""
from __future__ import unicode_literals
class InvalidMove(Exception):
"""
An invalid node move was attempted.
For example, attempting to make a node a child of itself.
"""
pass
class CantDisableUpdates(Exception):
"""
User tried to disable updates on a model that doesn't support it
(abstract, proxy or a multiple-inheritance subclass of an MPTTModel)
"""
pass
|