%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/janitor/plugincore/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/janitor/plugincore/__pycache__/cruft.cpython-312.pyc |
� 9q�f� � �H � e Zd gZddlmZ e� ZddlmZ G d� d � Zy)�Cruft� )� setup_gettext)�UnimplementedMethodc � � e Zd ZdZd� Zed� � Zd� Zed� � Zd� Z ed� � Z d� Zed � � Zd � Z d� Zed� � Zd � Zed� � Zd� Zy)r a3 One piece of cruft to be cleaned out. A piece of cruft can be a file, a package, a configuration tweak that is missing, or something else. This is a base class, which does nothing. Subclasses do the actual work, though they must override the `get_shortname()` and `cleanup()` methods. c �. � | j j S )a� Return the unique prefix used to group this type of cruft. For example, the .deb package called 'foo' would have a prefix of 'deb'. This way, the package foo is not confused with the file foo, or the username foo. Subclasses SHOULD define this. The default implementation returns the name of the class, which is rarely useful to the user. )� __class__�__name__��selfs �:/usr/lib/python3/dist-packages/janitor/plugincore/cruft.py� get_prefixzCruft.get_prefix% s � � �~�~�&�&�&� c �"