/usr/lib/python3/dist-packages/apt/__pycache__
Edit: /usr/lib/python3/dist-packages/apt/__pycache__/package.cpython-310.pyc (47490B)
o
4f
@ s d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl
mZ ddlm
Z
ddlmZ ddlmZmZmZmZmZmZmZmZmZmZmZ ddlZddlZddlm Z m!Z! dd lm"Z# d
Z$dd Z%G d
d de&Z'G dd de'Z(G dd de)Z*G dd dee* Z+G dd de)Z,G dd deeef Z-G dd de)Z.G dd dee. Z/G dd de)Z0edd Z1e2d!kre1 dS dS )"z"Functionality related to packages. )print_functionN)
BadStatusLine) HTTPError)urlopen)AnyIterableIteratorListOptionalSetTupleUnion
no_type_checkMappingSequence)AcquireProgressInstallProgress)gettext)BaseDependency
DependencyOriginPackageRecordVersionVersionListc C sX t j| r*t j| |kr*t| }t|j|kW d S 1 s%w Y dS )z(Return ``True`` if the file is the same.NF)ospathexistsgetsizeopenapt_pkgHasheshashes)r sizer" fobj r% -/usr/lib/python3/dist-packages/apt/package.py
_file_is_same6 s
r' c @ e Zd ZdZdS )
FetchErrorz(Raised when a file could not be fetched.N__name__
__module____qualname____doc__r% r% r% r&