/usr/share/pyshared/webassets/exceptions.py is in python-webassets 3:0.9-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 26 27 28 29 30 31 32 | __all__ = ('BundleError', 'BuildError', 'FilterError',
'EnvironmentError', 'ImminentDeprecationWarning')
class EnvironmentError(Exception):
pass
class BundleError(Exception):
pass
class BuildError(BundleError):
pass
class FilterError(BuildError):
pass
class ImminentDeprecationWarning(Warning):
"""Warning category for deprecated features, since the default
DeprecationWarning is silenced on Python 2.7+.
With webassets mainly targeting developers working directly with
the library, it makes sense to force deprecation warnings on them.
There should be no end users who will be bothered with them.
Plus, we tend to remove rather quickly, so it's important devs
get to see this.
"""
pass
|