#/** * @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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 62.109.13.187  /  Your IP : 216.73.216.11   [ Reverse IP ]
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 :  /lib64/python2.7/site-packages/subscription_manager/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib64/python2.7/site-packages/subscription_manager//ga_loader.pyo
�
L��ec@`s�ddlmZmZmZddlZddlZddlZddlZeje	�Z
ddlmZde
fd��YZdefd��YZdefd	��YZdd
�ZdS(i(tprint_functiontdivisiontabsolute_importN(tversiont
GaImportercB`sPeZdZdZiZd�Zd�Zd�Zd�Zd�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.
    ssubscription_manager.gacC`stjd|jj�dS(Nsga_loader %s(tlogtdebugt	__class__t__name__(tself((sD/usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyt__init__ZscC`s||jkr|SdS(N(tvirtual_modulestNone(R	tfullnametpath((sD/usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pytfind_module]scC`s�|tjkrtj|S||jkr8t|��n||jkrQ|j�Sd}}|j|}|r}|\}}n|s�t|��n|j|||�S(N(tsystmodulesRtImportErrort	namespacet_namespace_moduleRt_import_real_module(R	R
treal_module_nametreal_module_fromtmod_info((sD/usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pytload_modulebs


cC`s_t|t�t�|g�}t||�}|}||_||_t|_|tj	|<|S(N(
t
__import__tglobalstlocalstgetattrRt
__loader__tTruet__package__RR(R	R
tmodule_nametmodule_fromtrett	inner_ret((sD/usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyRxs			
cC`shtjj|tj|��}||_||_||_|g|_dj	|j
d�d �|_|S(s=Create a an empty module, we can populate with impl specific.t.i����(RRt
setdefaultttypest
ModuleTypeRRt__filename__t__path__tjointsplitR (R	R
R#((sD/usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyt_new_module�s			cC`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
(Rt
__module__t__doc__RRR
RRRR-R(((sD/usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyR0s%				
	
tGaImporterGtk3cB`speZidd6ddgd6ddgd6ddgd6dd	gd
6ddgd6dd
gd6ddgd6ZRS(ssubscription_manager.gassubscription_manager.ga_implstga_gtk3s"subscription_manager.ga.gtk_compats
gi.repositorytGObjectssubscription_manager.ga.GObjecttGdkssubscription_manager.ga.GdktGtkssubscription_manager.ga.GtktGLibssubscription_manager.ga.GLibt	GdkPixbufs!subscription_manager.ga.GdkPixbuftPangossubscription_manager.ga.PangoN(RR.RR(((sD/usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyR0�s






tGaImporterGtk2cB`speZidd6ddgd6ddgd6ddgd6ddgd	6dd
gd6ddgd
6ddgd6ZRS(ssubscription_manager.gas%subscription_manager.ga_impls.ga_gtk2t
gtk_compats"subscription_manager.ga.gtk_compatR2ssubscription_manager.ga.GObjectR3ssubscription_manager.ga.GdkR4ssubscription_manager.ga.GtkR5ssubscription_manager.ga.GLibR6s!subscription_manager.ga.GdkPixbufR7ssubscription_manager.ga.PangoN(RR.RR(((sD/usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyR8�s






cC`sd}d}tjjd�}tjdkr9tj}nkddl}ddl}|jdt	�}|r~|dkr~d}nd}|dkr�|j
d	|�n|p�|p�|p�|}|dkr�tjj
t��n|dkrtjj
t��ndS(
s4Decide which GaImporter implementation to load.

    Applications should import this module and call this method before
    importing anything from the 'ga' namespace.

    After calling this method, a GaImporter implementation is added to sys.meta_path.
    This sets up a module finder and loader that will return 'virtual' modules
    when asked for 'ga.Gtk' for example. Depending on the GaImporter, 'ga.Gtk'
    may be implemented with Gtk3 or gtk2.

    The default implementation is the gtk2 based one (DEFAULT_GTK_VERSION).

    The acceptable values of 'gtk_version' are '2' and '3', for gtk2 and
    gtk3.

    It can be overridden by, in order:

        Hardcoded DEFAULT_GTK_VERSION.
        (default is '2')

        The value of subscription_manager.version.gtk_version if it exists
        and is not None.
        (As set at build time)

        The 'gtk_version' argument to this method if not None.
        (The default is None)

        The value of the environment variable 'SUBMAN_GTK_VERSION' if set
        to '2' or '3'.
        (default is unset)
    t2tSUBMAN_GTK_VERSIONtGTK_VERSIONiNs%rhelit3s1GTK_VERSION is unset in version.py.  Using GTK %s(RtostenvirontgetRtgtk_versiontrpmtwarningstexpandMacroRtwarnRt	meta_pathtappendR0R8(RAtDEFAULT_GTK_VERSIONtgtk_version_from_buildtgtk_version_from_environRBRCtrhelR<((sD/usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pytinit_ga�s&!	(t
__future__RRRR'R>Rtloggingt	getLoggerRRtsubscription_managerRtobjectRR0R8RRL(((sD/usr/lib64/python2.7/site-packages/subscription_manager/ga_loader.pyt<module>si

Anon7 - 2022
AnonSec Team