/usr/lib/python2.7/dist-packages/openpyxl/utils/exceptions.py is in python-openpyxl 2.3.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 22 23 24 25 26 27 28 29 30 31 32 | from __future__ import absolute_import
# Copyright (c) 2010-2015 openpyxl
"""Definitions for openpyxl shared exception classes."""
class CellCoordinatesException(Exception):
"""Error for converting between numeric and A1-style cell references."""
class IllegalCharacterError(Exception):
"""The data submitted which cannot be used directly in Excel files. It
must be removed or escaped."""
class NamedRangeException(Exception):
"""Error for badly formatted named ranges."""
class SheetTitleException(Exception):
"""Error for bad sheet names."""
class InsufficientCoordinatesException(Exception):
"""Error for partially specified cell coordinates."""
class InvalidFileException(Exception):
"""Error for trying to open a non-ooxml file."""
class ReadOnlyWorkbookException(Exception):
"""Error for trying to modify a read-only workbook"""
class WorkbookAlreadySaved(Exception):
"""Error when attempting to perform operations on a dump workbook
while it has already been dumped once"""
|