o 4f @sXddlmZddlZddlZddlmZmZddlZddlZddZ ddZ dd Z dS) )print_functionN)OptionalTuplecCsR|d}|d}|j||j|d}|j|d}|dkr%d}|d8}||fS)z get the (year, month) tuple when the maintenance for the distribution ends. Needs the data of the release and the number of months that its is supported as input r)yearmonth) release_datem_monthsyearsmonthssupport_end_yearsupport_end_monthr+/usr/lib/python3/dist-packages/apt/utils.pyget_maintenance_end_dates rcCs|rtj|s dStt|'}t|}t|}d|vr) WddS|d}t|WdS1ss