HEX
Server: Apache
System: Linux server40.rootservers.co 6.12.0-124.39.1.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Feb 26 10:00:13 EST 2026 x86_64
User: ielopere (1067)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //lib64/python3.12/site-packages/libdnf/__pycache__/smartcols.cpython-312.pyc
�

�]h:3���ddlmZesdevrddlmZnddlZ	ddlZd�Z
d�Zd�Zd	�Z
Gd
�de�Zej ZGd�d
e�Zej&e�d�Zd�ZGd�de�Zej.e�Gd�de�Zej2e�Gd�de�Zej6e�y#e	$rddlZY��wxYw)�)�version_info�.�)�
_smartcolsNc���	d|jj�z}d|jj
�d|jj�d|�d�S#tj$rd}Y�KwxYw)Nz	proxy of ��<rz; z >)�this�__repr__�__builtin__�	Exception�	__class__�
__module__�__name__)�self�strthiss  �7/usr/lib64/python3.12/site-packages/libdnf/smartcols.py�
_swig_reprrs_�����	�	� 2� 2� 4�4���"�^�^�6�6����8O�8O�QX�Z�Z��� � �����s�A�A+�*A+c����fd�}|S)Nc���|dk(r�|||�y|dk(r|jj|�yt||�r.tt	t|�|�t�r�|||�ytd|z��)Nr
�thisownz(You cannot add instance attributes to %s)r
�own�hasattr�
isinstance�getattr�type�property�AttributeError)r�name�value�sets   �r�set_instance_attrzE_swig_setattr_nondynamic_instance_variable.<locals>.set_instance_attrsi����6�>���d�E�"�
�Y�
��I�I�M�M�%� �
�T�4�
 �Z���T�
�D�0I�8�%T���d�E�"� �!K�d�!R�S�S��)r!r"s` r�*_swig_setattr_nondynamic_instance_variabler%s���T��r#c����fd�}|S)Nc���t||�r%tt||�t�s�|||�yt	d|z��)Nz%You cannot add class attributes to %s)rrrrr)�clsrr r!s   �r�set_class_attrz?_swig_setattr_nondynamic_class_variable.<locals>.set_class_attr)s:����3���j���d�1C�X�&N���T�5�!� �!H�3�!N�O�Or#r$)r!r)s` r�'_swig_setattr_nondynamic_class_variabler*(s���P�
�r#c����fd�}|S)zlClass decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclassc�p���|j|j|jj��S�N)r�	__bases__�__dict__�copy)r(�	metaclasss �r�wrapperz$_swig_add_metaclass.<locals>.wrapper3s'�������s�}�}�c�l�l�6G�6G�6I�J�Jr#r$)r1r2s` r�_swig_add_metaclassr31s���K��Nr#c�4�eZdZdZeej�Zy)�_SwigNonDynamicMetazKMeta class to enforce nondynamic attributes (no new attributes) for a classN)rr�__qualname__�__doc__r*r�__setattr__r$r#rr5r58s��U�9�$�:J�:J�K�Kr#r5c���eZdZed�d�d��ZeZejZ	ejZejZ
d�ZejZd�Zd�Zd�Zd	�Zd
�Zd�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!d�Z"d�Z#d�Z$d�Z%d�Z&d�Z'd�Z(d�Z)d�Z*d �Z+d!�Z,d"�Z-d#�Z.d$�Z/d%�Z0d&�Z1d'�Z2d(�Z3d)�Z4d*�Z5d+�Z6d,�Z7d-�Z8d.�Z9d/�Z:d0�Z;d1�Z<d?d2�Z=d3�Z>d4�Z?d5�Z@d6�ZAd7�ZBd8�ZCd9�ZDd:�ZEd;�ZFd<�ZGd=�ZHy>)@�Tablec�6�|jj�Sr-�r
r��xs r�<lambda>zTable.<lambda>?��������r#c�8�|jj|�Sr-r<�r>�vs  rr?zTable.<lambda>?���A�F�F�J�J�q�Mr#�The membership flag��docc�P�tj|tj|��yr-)r�Table_swiginit�	new_Table�r�argss  r�__init__zTable.__init__Es���!�!�$�
�(<�(<�d�(C�Dr#c�.�tj||�Sr-)r�
Table_setName)rrs  r�setNamez
Table.setNameI����'�'��d�3�3r#c�.�tj||�Sr-)r�Table_setColumnSeparator�r�	separators  r�setColumnSeparatorzTable.setColumnSeparatorLs���2�2�4��C�Cr#c�.�tj||�Sr-)r�Table_setLineSeparatorrTs  r�setLineSeparatorzTable.setLineSeparatorOs���0�0��y�A�Ar#c�.�tj||�Sr-)r�Table_setSymbols)r�symbolss  r�
setSymbolszTable.setSymbolsRs���*�*�4��9�9r#c�,�tj|�Sr-)r�Table_setDefaultSymbols�rs r�setDefaultSymbolszTable.setDefaultSymbolsU����1�1�$�7�7r#c�.�tj||�Sr-)r�Table_setStream)r�streams  r�	setStreamzTable.setStreamX����)�)�$��7�7r#c�.�tj||�Sr-)r�Table_setTermforce)r�forces  r�setTermforcezTable.setTermforce[����,�,�T�5�9�9r#c�.�tj||�Sr-)r�Table_setTermwidth)r�widths  r�setTermwidthzTable.setTermwidth^rlr#c�,�tj|�Sr-)r�
Table_getNamer`s r�getNamez
Table.getNamea����'�'��-�-r#c�,�tj|�Sr-)r�Table_getColumnSeparatorr`s r�getColumnSeparatorzTable.getColumnSeparatord����2�2�4�8�8r#c�,�tj|�Sr-)r�Table_getLineSeparatorr`s r�getLineSeparatorzTable.getLineSeparatorg����0�0��6�6r#c�,�tj|�Sr-)r�Table_getNumberOfColumnsr`s r�getNumberOfColumnszTable.getNumberOfColumnsjrxr#c�,�tj|�Sr-)r�Table_getNumberOfLinesr`s r�getNumberOfLineszTable.getNumberOfLinesmr|r#c�,�tj|�Sr-)r�Table_getTitler`s r�getTitlezTable.getTitlep����(�(��.�.r#c�.�tj||�Sr-)r�Table_getColumn�r�ns  r�	getColumnzTable.getColumns����)�)�$��2�2r#c�.�tj||�Sr-)r�
Table_getLiner�s  r�getLinez
Table.getLinevs���'�'��a�0�0r#c�,�tj|�Sr-)r�Table_getTermforcer`s r�getTermforcezTable.getTermforcey����,�,�T�2�2r#c�,�tj|�Sr-)r�Table_getSymbolsr`s r�
getSymbolszTable.getSymbols|����*�*�4�0�0r#c�,�tj|�Sr-)r�Table_getTermwidthr`s r�getTermwidthzTable.getTermwidthr�r#c�,�tj|�Sr-)r�Table_getStreamr`s r�	getStreamzTable.getStream�����)�)�$�/�/r#c�,�tj|�Sr-)r�Table_isColorsEnabledr`s r�isColorsEnabledzTable.isColorsEnabled�s���/�/��5�5r#c�,�tj|�Sr-)r�Table_isRawr`s r�isRawzTable.isRaw�s���%�%�d�+�+r#c�,�tj|�Sr-)r�
Table_isAsciir`s r�isAsciiz
Table.isAscii�rtr#c�,�tj|�Sr-)r�Table_isJsonr`s r�isJsonzTable.isJson�����&�&�t�,�,r#c�,�tj|�Sr-)r�Table_isNoheadingsr`s r�isNoheadingszTable.isNoheadings�r�r#c�,�tj|�Sr-)r�
Table_isEmptyr`s r�isEmptyz
Table.isEmpty�rtr#c�,�tj|�Sr-)r�Table_isExportr`s r�isExportzTable.isExport�r�r#c�,�tj|�Sr-)r�Table_isMaxoutr`s r�isMaxoutzTable.isMaxout�r�r#c�,�tj|�Sr-)r�Table_isNowrapr`s r�isNowrapzTable.isNowrap�r�r#c�,�tj|�Sr-)r�Table_isNoLineSeparatorr`s r�isNoLineSeparatorzTable.isNoLineSeparator�rbr#c�,�tj|�Sr-)r�Table_isTreer`s r�isTreezTable.isTree�r�r#c�.�tj||�Sr-)r�Table_enableColors�r�enables  r�enableColorszTable.enableColors�����,�,�T�6�:�:r#c�.�tj||�Sr-)r�Table_enableRawr�s  r�	enableRawzTable.enableRaw�rgr#c�.�tj||�Sr-)r�Table_enableAsciir�s  r�enableAsciizTable.enableAscii�s���+�+�D�&�9�9r#c�.�tj||�Sr-)r�Table_enableJsonr�s  r�
enableJsonzTable.enableJson�s���*�*�4��8�8r#c�.�tj||�Sr-)r�Table_enableNoheadingsr�s  r�enableNoheadingszTable.enableNoheadings�s���0�0��v�>�>r#c�.�tj||�Sr-)r�Table_enableExportr�s  r�enableExportzTable.enableExport�r�r#c�.�tj||�Sr-)r�Table_enableMaxoutr�s  r�enableMaxoutzTable.enableMaxout�r�r#c�.�tj||�Sr-)r�Table_enableNowrapr�s  r�enableNowrapzTable.enableNowrap�r�r#c�.�tj||�Sr-)r�Table_enableNolinesepr�s  r�enableNolinesepzTable.enableNolinesep�����/�/��f�=�=r#c�.�tj||�Sr-)r�Table_addColumn�r�columns  r�	addColumnzTable.addColumn�rgr#c�.�tj||�Sr-)r�Table_removeColumnr�s  r�removeColumnzTable.removeColumn�r�r#c�,�tj|�Sr-)r�Table_removeColumnsr`s r�
removeColumnszTable.removeColumns�����-�-�d�3�3r#c�0�tj|||�Sr-)r�Table_moveColumn)r�before�toMoves   r�
moveColumnzTable.moveColumn�s���*�*�4���@�@r#c�2�tj||||�Sr-)r�Table_newColumn)rr�	widthHint�flagss    r�	newColumnzTable.newColumn�s���)�)�$��i��G�Gr#c�.�tj||�Sr-)r�Table_nextColumn�r�iterators  r�
nextColumnzTable.nextColumn�s���*�*�4��:�:r#c�.�tj||�Sr-)r�
Table_addLine�r�lines  r�addLinez
Table.addLine�rQr#c�.�tj||�Sr-)r�Table_removeLiner�s  r�
removeLinezTable.removeLine�����*�*�4��6�6r#c�,�tj|�Sr-)r�Table_removeLinesr`s r�removeLineszTable.removeLines�����+�+�D�1�1r#c�.�tj|g|���Sr-)r�
Table_newLinerKs  r�newLinez
Table.newLine�s���'�'��4�t�4�4r#c�.�tj||�Sr-)r�Table_nextLiner�s  r�nextLinezTable.nextLine�s���(�(��x�8�8r#c�.�tj||�Sr-)r�Table_reduceTermwidth)r�reduces  r�reduceTermwidthzTable.reduceTermwidth�r�r#c�.�tj||�Sr-)r�
Table_sortr�s  r�sortz
Table.sort�s���$�$�T�6�2�2r#c�,�tj|�Sr-)r�Table_sortByTreer`s r�
sortByTreezTable.sortByTree�r�r#c�.�tj|g|���Sr-)r�Table__printrKs  r�_printzTable._print�s���&�&�t�3�d�3�3r#c�.�tj|g|���Sr-)r�Table_toStringrKs  r�toStringzTable.toString�s���(�(��5��5�5r#N)rr)Irrr6rrrrr�Table_TermForce_AUTO�TermForce_AUTO�Table_TermForce_NEVER�TermForce_NEVER�Table_TermForce_ALWAYS�TermForce_ALWAYSrM�delete_Table�__swig_destroy__rPrVrYr]rarfrkrprsrwr{rr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrr
r
rrrrrr$r#rr:r:>sh���-�/I�Od�e�G��H��4�4�N� �6�6�O�!�8�8��E�!�.�.��4�D�B�:�8�8�:�:�.�9�7�9�7�/�3�1�3�1�3�0�6�,�.�-�3�.�/�/�/�8�-�;�8�:�9�?�;�;�;�>�8�;�4�A�H�;�4�7�2�5�9�>�3�1�4�6r#r:c�0�tj|||�Sr-)r�wrapNewlineChunksize�r��data�userdatas   rr'r'�����*�*�6�4��B�Br#c�0�tj|||�Sr-)r�wrapNewlineNextchunkr(s   rr-r-�r+r#c���eZdZed�d�d��ZeZd�ZejZ
d�Zd�Zd�Z
d	�Zd
�Zd�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z y)�Columnc�6�|jj�Sr-r<r=s rr?zColumn.<lambda>�r@r#c�8�|jj|�Sr-r<rBs  rr?zColumn.<lambda>�rDr#rErFc�P�tj|tj|��yr-)r�Column_swiginit�
new_ColumnrKs  rrMzColumn.__init__�s���"�"�4��)>�)>��)E�Fr#c�,�tj|�Sr-)r�
Column_isTreer`s rr�z
Column.isTreertr#c�,�tj|�Sr-)r�Column_isTruncr`s r�isTrunczColumn.isTruncr�r#c�,�tj|�Sr-)r�Column_isRightr`s r�isRightzColumn.isRightr�r#c�,�tj|�Sr-)r�Column_isStrictWidthr`s r�
isStrictWidthzColumn.isStrictWidth
s���.�.�t�4�4r#c�,�tj|�Sr-)r�Column_isHiddenr`s r�isHiddenzColumn.isHidden
r�r#c�,�tj|�Sr-)r�Column_isNoextremesr`s r�isNoextremeszColumn.isNoextremesr�r#c�,�tj|�Sr-)r�
Column_isWrapr`s r�isWrapz
Column.isWraprtr#c�,�tj|�Sr-)r�Column_isCustomwrapr`s r�isCustomwrapzColumn.isCustomwrapr�r#c�,�tj|�Sr-)r�Column_getFlagsr`s r�getFlagszColumn.getFlagsr�r#c�,�tj|�Sr-)r�Column_getWidthHintr`s r�getWidthHintzColumn.getWidthHintr�r#c�,�tj|�Sr-)r�Column_getWidthr`s r�getWidthzColumn.getWidthr�r#c�,�tj|�Sr-)r�Column_getSafecharsr`s r�getSafecharszColumn.getSafechars"r�r#c�,�tj|�Sr-)r�Column_getColorr`s r�getColorzColumn.getColor%r�r#c�,�tj|�Sr-)r�Column_getHeaderr`s r�	getHeaderzColumn.getHeader(r�r#c�.�tj||�Sr-)r�Column_setWrapr�s  r�setWrapzColumn.setWrap+s���(�(��v�6�6r#c�.�tj||�Sr-)r�Column_setColor�r�colors  r�setColorzColumn.setColor.����)�)�$��6�6r#c�.�tj||�Sr-)r�Column_setFlags�rr�s  r�setFlagszColumn.setFlags1rfr#c�.�tj||�Sr-)r�Column_setSafechars)r�safes  r�setSafecharszColumn.setSafechars4����-�-�d�D�9�9r#c�.�tj||�Sr-)r�Column_setWidthHint)r�hints  r�setWidthHintzColumn.setWidthHint7ror#c�0�tj|||�Sr-)r�Column_setCompareFunction)r�functionr)s   r�setCompareFunctionzColumn.setCompareFunction:s���3�3�D�(�D�I�Ir#c�2�tj||||�Sr-)r�Column_setWrapFunction)r�
wrapChunksize�
wrapNextchunkr*s    r�setWrapFunctionzColumn.setWrapFunction=s���0�0��}�m�U]�^�^r#c�,�tj|�Sr-)r�Column_setNewlineWrapFunctionr`s r�setNewlineWrapFunctionzColumn.setNewlineWrapFunction@s���7�7��=�=r#N)!rrr6rrrrrMr�
delete_Columnr%r�r9r<r?rBrErHrKrNrQrTrWrZr]r`rerjrnrsrwr|rr$r#rr/r/�s����-�/I�Od�e�G��H�G�!�/�/��.�/�/�5�0�4�.�4�0�4�0�4�0�1�7�7�7�:�:�J�_�>r#r/c��eZdZed�d�d��ZeZd�ZejZ
d�Zd�Zd�Z
d	�Zd
�Zd�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zy)�Linec�6�|jj�Sr-r<r=s rr?z
Line.<lambda>Fr@r#c�8�|jj|�Sr-r<rBs  rr?z
Line.<lambda>FrDr#rErFc�P�tj|tj|��yr-)r�
Line_swiginit�new_LinerKs  rrMz
Line.__init__Is��� � ��z�':�':�D�'A�Br#c�.�tj||�Sr-)r�Line_allocCellsr�s  r�
allocCellszLine.allocCellsMr�r#c�,�tj|�Sr-)r�Line_freeCellsr`s r�	freeCellszLine.freeCellsPr�r#c�.�tj||�Sr-)r�
Line_addChild�r�childs  r�addChildz
Line.addChildS����'�'��e�4�4r#c�.�tj||�Sr-)r�Line_removeChildr�s  r�removeChildzLine.removeChildVs���*�*�4��7�7r#c�.�tj||�Sr-)r�Line_nextChild)r�iters  r�	nextChildzLine.nextChildYs���(�(��t�4�4r#c�0�tj|||�Sr-)r�Line_referData�rr�r)s   r�	referDatazLine.referData\s���(�(��q�$�7�7r#c�0�tj|||�Sr-)r�Line_referColumnData)rr�r)s   r�referColumnDatazLine.referColumnData_s���.�.�t�V�T�B�Br#c�,�tj|�Sr-)r�Line_hasChildrenr`s r�hasChildrenzLine.hasChildrenbr�r#c�.�tj||�Sr-)r�Line_isAncestor)r�parents  r�
isAncestorzLine.isAncestorergr#c�,�tj|�Sr-)r�Line_getCellCountr`s r�getCellCountzLine.getCellCounthrr#c�,�tj|�Sr-)r�
Line_getColorr`s rrZz
Line.getColorkrtr#c�.�tj||�Sr-)r�Line_getCellr�s  r�getCellzLine.getCellns���&�&�t�Q�/�/r#c�.�tj|g|���Sr-)r�Line_getColumnCellrKs  r�
getColumnCellzLine.getColumnCellq����,�,�T�9�D�9�9r#c�,�tj|�Sr-)r�Line_getParentr`s r�	getParentzLine.getParenttr�r#c�,�tj|�Sr-)r�Line_getUserdatar`s r�getUserdatazLine.getUserdatawr�r#c�.�tj||�Sr-)r�Line_setUserdata�rr)s  r�setUserdatazLine.setUserdatazrr#c�.�tj||�Sr-)r�
Line_setColorrcs  rrez
Line.setColor}r�r#c�0�tj|||�Sr-)r�Line_setDatar�s   r�setDatazLine.setData�s���&�&�t�Q��5�5r#c�.�tj|g|���Sr-)r�Line_setColumnDatarKs  r�
setColumnDatazLine.setColumnData�r�r#N)rrr6rrrrrMr�delete_Liner%r�r�r�r�r�r�r�r�r�r�rZr�r�r�r�r�rer�r�r$r#rr�r�Es����-�/I�Od�e�G��H�C�!�-�-��3�/�5�8�5�8�C�1�8�2�.�0�:�/�1�7�5�6�:r#r�c��eZdZed�d�d��ZeZd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zej(Zy)�Cellc�6�|jj�Sr-r<r=s rr?z
Cell.<lambda>�r@r#c�8�|jj|�Sr-r<rBs  rr?z
Cell.<lambda>�rDr#rErFc�V�tj|tj|��yr-)r�
Cell_swiginit�new_Cell�r�cells  rrMz
Cell.__init__�s��� � ��z�':�':�4�'@�Ar#c�,�tj|�Sr-)r�
Cell_resetr`s r�resetz
Cell.reset�s���$�$�T�*�*r#c�,�tj|�Sr-)r�
Cell_getFlagsr`s rrNz
Cell.getFlags�rtr#c�,�tj|�Sr-)r�Cell_getAlignmentr`s r�getAlignmentzCell.getAlignment�rr#c�,�tj|�Sr-)r�Cell_getDatar`s r�getDatazCell.getData�r�r#c�,�tj|�Sr-)r�
Cell_getColorr`s rrZz
Cell.getColor�rtr#c�,�tj|�Sr-)r�Cell_getUserdatar`s rr�zCell.getUserdata�r�r#c�.�tj||�Sr-)r�Cell_setDatar�s  rr�zCell.setData�s���&�&�t�T�2�2r#c�.�tj||�Sr-)r�
Cell_setColorrcs  rrez
Cell.setColor�r�r#c�.�tj||�Sr-)r�
Cell_setFlagsris  rrjz
Cell.setFlags�r�r#c�.�tj||�Sr-)r�Cell_setUserdatar�s  rr�zCell.setUserdata�rr#c�.�tj||�Sr-)r�Cell___eq__r�s  r�__eq__zCell.__eq__�s���%�%�d�D�1�1r#N)rrr6rrrrrMr�rNr�r�rZr�r�rerjr�r�r�delete_Cellr%r$r#rr�r��sa���-�/I�Od�e�G��H�B�+�.�2�-�.�1�3�5�5�7�2�!�-�-�r#r�)�sysr�_swig_python_version_info�__package__rrr�builtinsr�ImportErrorrr%r*r3rr5�SHARED_PTR_DISOWN�objectr:�Table_swigregisterr'r-r/�Column_swigregisterr��Line_swigregisterr��Cell_swigregisterr$r#r�<module>r�s���:��#��/����"�[�
���L�$�L�
�0�0��q6�F�q6�h�
���e�$�C�C�H>�V�H>�V�
���v�&�?:�6�?:�D�
���T�"�'.�6�'.�T�
���T�"��E
����s�B;�;	C�C