up version to 0.5.9.3 and fix plugin reporting

This commit is contained in:
Marcos Pinto 2008-06-23 19:37:15 +00:00
parent a206c6b3c4
commit 2be6c2a5ed
2 changed files with 4 additions and 5 deletions

View File

@ -28,7 +28,7 @@
NAME = "deluge" NAME = "deluge"
FULLNAME = "Deluge BitTorrent Client" FULLNAME = "Deluge BitTorrent Client"
VERSION = "0.5.9.2" VERSION = "0.5.9.3"
AUTHOR = "Zach Tibbitts, Alon Zakai, Marcos Pinto, Andrew Resch, Alex Dedul" AUTHOR = "Zach Tibbitts, Alon Zakai, Marcos Pinto, Andrew Resch, Alex Dedul"
EMAIL = "zach@collegegeek.org, kripkensteiner@gmail.com, marcospinto@dipconsultants.com, alonzakai@gmail.com, rotmer@gmail.com" EMAIL = "zach@collegegeek.org, kripkensteiner@gmail.com, marcospinto@dipconsultants.com, alonzakai@gmail.com, rotmer@gmail.com"
DESCRIPTION = "A GTK BitTorrent client written in Python and C++" DESCRIPTION = "A GTK BitTorrent client written in Python and C++"

View File

@ -32,7 +32,7 @@ import os
import xdg.BaseDirectory import xdg.BaseDirectory
PROGRAM_NAME = "Deluge" PROGRAM_NAME = "Deluge"
PROGRAM_VERSION = "0.5.9.2" PROGRAM_VERSION = "0.5.9.3"
CLIENT_CODE = "DE" CLIENT_CODE = "DE"
CLIENT_VERSION = "".join(PROGRAM_VERSION.split('.'))+"0"*(4 - len(PROGRAM_VERSION.split('.'))) CLIENT_VERSION = "".join(PROGRAM_VERSION.split('.'))+"0"*(4 - len(PROGRAM_VERSION.split('.')))
@ -213,7 +213,7 @@ def exec_command(executable, *parameters):
def send_info(plugins=None): def send_info(plugins=None):
import threading import threading
class Send_Info_Thread(threading.Thread): class Send_Info_Thread(threading.Thread):
def __init__(self): def __init__(self, plugins):
threading.Thread.__init__(self) threading.Thread.__init__(self)
def run(self): def run(self):
import urllib import urllib
@ -223,7 +223,6 @@ def send_info(plugins=None):
import common import common
pygtk = '%i.%i.%i' %(gtk.pygtk_version[0],gtk.pygtk_version[1],gtk.pygtk_version[2]) pygtk = '%i.%i.%i' %(gtk.pygtk_version[0],gtk.pygtk_version[1],gtk.pygtk_version[2])
try: try:
url = "http://deluge-torrent.org/stats_get.php?processor=" + \ url = "http://deluge-torrent.org/stats_get.php?processor=" + \
platform.machine() + "&python=" + platform.python_version() \ platform.machine() + "&python=" + platform.python_version() \
@ -237,7 +236,7 @@ def send_info(plugins=None):
f = open(os.path.join(CONFIG_DIR, 'infosent'), 'w') f = open(os.path.join(CONFIG_DIR, 'infosent'), 'w')
f.write("") f.write("")
f.close f.close
Send_Info_Thread().start() Send_Info_Thread(plugins).start()
# Encryption States # Encryption States
class EncState: class EncState: