p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.13
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib64/python2.7/site-packages/gi/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /lib64/python2.7/site-packages/gi/_error.py
# -*- Mode: Python; py-indent-offset: 4 -*-
# vim: tabstop=4 shiftwidth=4 expandtab
#
# Copyright (C) 2014 Simon Feltman <sfeltman@gnome.org>
#
#   _error.py: GError Python implementation
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library 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
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
# USA


# NOTE: This file should not have any dependencies on introspection libs
# like gi.repository.GLib because it would cause a circular dependency.
# Developers wanting to use the GError class in their applications should
# use gi.repository.GLib.GError


class GError(RuntimeError):
    def __init__(self, message='unknown error', domain='pygi-error', code=0):
        super(GError, self).__init__(message)
        self.message = message
        self.domain = domain
        self.code = code

    def __str__(self):
        return "%s: %s (%d)" % (self.domain, self.message, self.code)

    def __repr__(self):
        return "%s.%s('%s', '%s', %d)" % (GError.__module__, GError.__name__,
                                          self.message, self.domain, self.code)

    def copy(self):
        return GError(self.message, self.domain, self.code)

    def matches(self, domain, code):
        """Placeholder that will be monkey patched in GLib overrides."""
        raise NotImplementedError

    @staticmethod
    def new_literal(domain, message, code):
        """Placeholder that will be monkey patched in GLib overrides."""
        raise NotImplementedError
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
September 29 2025 07:00:45
0 / 0
0755
_gobject
--
December 20 2023 04:36:10
0 / 0
0755
overrides
--
December 20 2023 04:36:10
0 / 0
0755
repository
--
December 20 2023 04:36:10
0 / 0
0755
__init__.py
4.72 KB
November 21 2017 12:44:23
0 / 0
0644
__init__.pyc
4.236 KB
November 21 2017 12:44:24
0 / 0
0644
__init__.pyo
4.236 KB
November 21 2017 12:44:24
0 / 0
0644
_constants.py
2.029 KB
November 21 2017 12:44:23
0 / 0
0644
_constants.pyc
1.281 KB
November 21 2017 12:44:24
0 / 0
0644
_constants.pyo
1.281 KB
November 21 2017 12:44:24
0 / 0
0644
_error.py
2.031 KB
November 21 2017 12:44:23
0 / 0
0644
_error.pyc
1.756 KB
November 21 2017 12:44:24
0 / 0
0644
_error.pyo
1.756 KB
November 21 2017 12:44:24
0 / 0
0644
_gi.so
323.711 KB
November 21 2017 12:44:24
0 / 0
0755
_option.py
12.938 KB
November 21 2017 12:44:23
0 / 0
0644
_option.pyc
12.455 KB
November 21 2017 12:44:24
0 / 0
0644
_option.pyo
12.455 KB
November 21 2017 12:44:24
0 / 0
0644
_propertyhelper.py
14.819 KB
November 21 2017 12:44:23
0 / 0
0644
_propertyhelper.pyc
12.604 KB
November 21 2017 12:44:24
0 / 0
0644
_propertyhelper.pyo
12.604 KB
November 21 2017 12:44:24
0 / 0
0644
_signalhelper.py
9.629 KB
November 21 2017 12:44:23
0 / 0
0644
_signalhelper.pyc
9.499 KB
November 21 2017 12:44:24
0 / 0
0644
_signalhelper.pyo
9.499 KB
November 21 2017 12:44:24
0 / 0
0644
docstring.py
6.531 KB
November 21 2017 12:44:23
0 / 0
0644
docstring.pyc
4.853 KB
November 21 2017 12:44:24
0 / 0
0644
docstring.pyo
4.853 KB
November 21 2017 12:44:24
0 / 0
0644
importer.py
5.164 KB
November 21 2017 12:44:23
0 / 0
0644
importer.pyc
3.933 KB
November 21 2017 12:44:24
0 / 0
0644
importer.pyo
3.933 KB
November 21 2017 12:44:24
0 / 0
0644
module.py
9.802 KB
November 21 2017 12:44:23
0 / 0
0644
module.pyc
6.7 KB
November 21 2017 12:44:24
0 / 0
0644
module.pyo
6.643 KB
November 21 2017 12:44:24
0 / 0
0644
pygtkcompat.py
0.748 KB
November 21 2017 12:44:23
0 / 0
0644
pygtkcompat.pyc
0.736 KB
November 21 2017 12:44:24
0 / 0
0644
pygtkcompat.pyo
0.736 KB
November 21 2017 12:44:24
0 / 0
0644
types.py
13.478 KB
November 21 2017 12:44:23
0 / 0
0644
types.pyc
9.569 KB
November 21 2017 12:44:24
0 / 0
0644
types.pyo
9.521 KB
November 21 2017 12:44:24
0 / 0
0644