403Webshell
Server IP : 172.64.80.1  /  Your IP : 216.73.216.175
Web Server : LiteSpeed
System : Linux srv13.swhc.ca 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64
User : hongluck ( 2522)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3.6/site-packages/pydbus/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.6/site-packages/pydbus/timeout.py
from gi.repository import GLib, GObject

def timeout_to_glib(timeout):
	if timeout is None:
		try:
			return GLib.MAXINT
		except AttributeError:
			# GLib < 2.46
			return GObject.G_MAXINT
	else:
		try:
			timeout = timeout.total_seconds()
		except AttributeError:
			pass
		return int(timeout * 1000)

Youez - 2016 - github.com/yon3zu
LinuXploit