HEX
Server: Apache
System: Linux iad1-shared-b8-33 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: samfetchero1 (10301780)
PHP: 8.1.33
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