Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
NebÐc ã @ s0 d Z dZddlmZ ddlmZ ddlmZ ddlT ddl T ddl
mZ G dd „ d ƒZ
G d
d„ de
ejƒZG dd
„ d
eƒZi ZG dd„ dƒZG dd„ de
ƒZdd„ Zdd„ ZG dd„ de
ƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG d d!„ d!e
ƒZd"d#„ Zd$d%„ Zed&k�r,eƒ d'S )(z3.3.0z-Base class for user-defined graphical widgetsé )Úshapes)Ú rl_config)Úcolors)Ú*)Úrefc @ sF e Zd ZdZdZdd„ Zejr&dd„ Zddd „Z d
d„ Z
dd
d„ZdS )Ú
PropHolderzBase for property holdersNc C s° | j dk r¬x<| jjƒ D ].}|d dkrd|| f }|| j kst|ƒ‚qW xb| j jƒ D ]T\}}d|| f }t| |ƒszt|ƒ‚t| |ƒ}||| jjf}|j |ƒsTtd| ƒ‚qTW dS )a0 If the _attrMap attribute is not None, this
checks all expected attributes are present; no
unwanted attributes are present; and (if a
checking function is found) checks each
attribute has a valid value. Either succeeds
or raises an informative exception.
Nr Ú_z#Unexpected attribute %s found in %szMissing attribute %s from %sz-Invalid value %s for attribute %s in class %s)
Ú_attrMapÚ__dict__ÚkeysÚAssertionErrorÚitemsÚhasattrÚgetattrÚ __class__Ú__name__Úvalidate)ÚselfÚkeyÚmsgÚattrZ metavalueÚvalueÚargs© r ú>/tmp/tmp4i9tl1d3/lib64/python/reportlab/graphics/widgetbase.pyÚverify s
zPropHolder.verifyc C s t | ||ƒ dS )zSBy default we verify. This could be off
in some parallel base classes.N)ÚvalidateSetattr)r Únamer r r r Ú__setattr__. s zPropHolder.__setattr__é c C s¨ ddl m} i }x’| jjƒ D ]„}|dd… dkrt| |ƒ}|r˜||ƒr˜|j|d�}xL|jƒ D ]6\}}|d dkr‚||d||f <