/usr/share/pyshared/pypsignifit/psignierrors.py is in python-pypsignifit 3.0~beta.20120611.1-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 22 23 24 25 | #!/usr/bin/env python
# vi: set ft=python sts=4 ts=4 sw=4 et:
######################################################################
#
# See COPYING file distributed along with the psignifit package for
# the copyright and license terms
#
######################################################################
__docformat__ = "restructuredtext"
class NosamplesError ( Exception ):
"""An exception that is raised whenever we try to use samples but there are none"""
def __init__ ( self, msg ):
self.msg = msg
def __str__(self):
return repr(self.msg)
class SamplingError ( Exception ):
"""An exception that is raised if some thing is wrong with the sampling"""
def __init__ ( self, msg ):
self.msg = msg
def __str__ ( self ):
return repr(self.msg)
|