File: //lib/python3/dist-packages/olefile/__pycache__/olefile.cpython-38.pyc
U
6��[_� � @ s� d Z ddlmZ dZdZdZdddd d
ddd
ddddddddddddddddddd gZdd!lZdd!lZdd!l Z dd!l
Z
dd!lZdd!l
Z
dd!lZeek r�eZzeZW n eZY nX e
�
d"�jd#kr�d"Zn4e
�
d$�jd#kr�d$Zne
�
d%�jd#kr�d%Zned&��ze W n ek
�r eZY nX d'Zejd d(k �r<d)Znd!Zejd* fd+d,�Zed-�Z d.d � Z!d/Z"d0Z#d1Z$d2Z%d3Z&d4Z'd0Z(d4Z)dZ*d*Z+d5Z,d(Z-d#Z.d6Z/d7Z0dZ1d*Z2d5Z3d(Z4d#Z5d6Z6d8Z7d9Z8d:Z9d;Z:d<Z;d=Z<d>Z=d?Z>d@Z?dAZ@dBZAdCZBdDZCdEZDdFZEdGZFdHZGdIZHdJZIdKZJdLZKdMZLdNZMdOZNdPZOdQZPdRZQdSZRdTZSdUZTdVZUdWZVdXZWdYZXdZZYd[ZZd<Z[dEZ\dOZ]d\Z^d]Z_d^d� Z`eek�rvd_d`� Zandad`� Zadsdbdc�Zbdtddde�Zcdfdg� Zddhdi� ZeG djd� d�ZfG dkdl� dlejg�ZhG dmdn� dn�ZiG dod� d�Zjdpdq� Zkeldrk�r�ek� d!S )ua:
olefile (formerly OleFileIO_PL)
Module to read/write Microsoft OLE2 files (also called Structured Storage or
Microsoft Compound Document File Format), such as Microsoft Office 97-2003
documents, Image Composer and FlashPix files, Outlook messages, ...
This version is compatible with Python 2.7 and 3.4+
Project website: https://www.decalage.info/olefile
olefile is copyright (c) 2005-2018 Philippe Lagadec
(https://www.decalage.info)
olefile is based on the OleFileIO module from the PIL library v1.1.7
See: http://www.pythonware.com/products/pil/index.htm
and http://svn.effbot.org/public/tags/pil-1.1.7/PIL/OleFileIO.py
The Python Imaging Library (PIL) is
Copyright (c) 1997-2009 by Secret Labs AB
Copyright (c) 1995-2009 by Fredrik Lundh
See source code and LICENSE.txt for information on usage and redistribution.
� )�print_functionz
2018-09-09z0.46zPhilippe Lagadec� isOleFile� OleFileIO�OleMetadata�enable_logging�MAGIC�STGTY_EMPTY�KEEP_UNICODE_NAMES�STGTY_STREAM�
STGTY_STORAGE�
STGTY_ROOT�STGTY_PROPERTY�STGTY_LOCKBYTES�MINIMAL_OLEFILE_SIZE�
DEFECT_UNSURE�DEFECT_POTENTIAL�DEFECT_INCORRECT�DEFECT_FATAL�DEFAULT_PATH_ENCODING�
MAXREGSECT�DIFSECT�FATSECT�
ENDOFCHAIN�FREESECT� MAXREGSID�NOSTREAM�UNKNOWN_SIZE�
WORD_CLSIDN�L� �I�iz>Need to fix a bug with 32 bit arrays, please contact author...T� zutf-8� c C sL | t jjjkr&t �| �}|�|� |S t �| �}|�t �� � |�|� |S )an
Create a suitable logger object for this module.
The goal is not to change settings of the root logger, to avoid getting
other modules' logs on the screen.
If a logger exists with same name, reuse it. (Else it would have duplicate
handlers and messages would be doubled.)
The level is set to CRITICAL+1 by default, to avoid any logging.
)�loggingZLogger�managerZ
loggerDictZ getLogger�setLevelZ
addHandlerZNullHandler)�name�levelZlogger� r) �1/usr/lib/python3/dist-packages/olefile/olefile.py�
get_logger� s
r+ �olefilec C s t �tj� dS )z�
Enable logging for this module (disabled by default).
This will set the module-specific logger level to NOTSET, which
means the main application controls the actual logging level.
N)�logr&