/usr/lib/python2.7/dist-packages/pyavm/exceptions.py is in python-pyavm 0.9.2-3.
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 22 23 24 25 26 27 28 29 30 31 | # -*- coding: utf-8 -*-
from __future__ import print_function, division
class AVMListLengthError(Exception):
"""
Raised when a list is not the correct length
"""
pass
class AVMItemNotInControlledVocabularyError(Exception):
"""
Raised when an string is not in a required controlled vocabulary
"""
pass
class AVMEmptyValueError(Exception):
"""
Raised when a list is given with no relevant data
"""
pass
class NoXMPPacketFound(Exception):
"""
Raised when no XMP packet is found in a file
"""
pass
|