/usr/share/pyshared/Gnuplot/Errors.py is in python-gnuplot 1.8-5.
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 | # $Id: Errors.py 244 2003-04-21 09:44:09Z mhagger $
# Copyright (C) 2001-2003 Michael Haggerty <mhagger@alum.mit.edu>
#
# This file is licensed under the GNU Lesser General Public License
# (LGPL). See LICENSE.txt for details.
"""Exception types that can be raised by Gnuplot.py."""
class Error(Exception):
"""All our exceptions are derived from this one."""
pass
class OptionError(Error):
"""Raised for unrecognized option(s)"""
pass
class DataError(Error):
"""Raised for data in the wrong format"""
pass
|