HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/trac/upgrades/__pycache__/db41.cpython-310.pyc
o

�k�`��@s(ddlmZddlmZmZdd�ZdS)�)�backup_config_file)�default_mainnav_order�default_metanav_ordercs<|j��fdd�}|dt�|dt�t|d����dS)zmMove [trac] mainnav and [trac] metanav to .order attributes
    of the [mainnav] and [metanav] sections.
    csJ��d|�p|}t|d�D]\}}��||dt|��q
��d|�dS)N�trac�z.order)�getlist�	enumerate�set�float�remove)�section�default�i�name��config��4/usr/lib/python3/dist-packages/trac/upgrades/db41.py�move_nav_order_optionssz*do_upgrade.<locals>.move_nav_order_options�mainnav�metanavz	.db41.bakN)rrrr�save)�env�version�cursorrrrr�
do_upgrades


rN)�	trac.utilr�trac.web.chromerrrrrrr�<module>s