Author: johnnyg
Revision: 5416
Log:
Fixed stats url encoding.
Diff:
Modified: branches/1.1.0_RC/deluge/core/preferencesmanager.py
===================================================================
--- branches/1.1.0_RC/deluge/core/preferencesmanager.py 2009-06-24 03:22:06 UTC
(rev 5415)
+++ branches/1.1.0_RC/deluge/core/preferencesmanager.py 2009-06-24 05:41:30 UTC
(rev 5416)
@@ -447,9 +447,8 @@
url =
"http://deluge-torrent.org/stats_get.php?processor=" + \
platform.machine() + "&python=" +
platform.python_version() \
+ "&deluge=" + deluge.common.get_version() \
- + "&os=" + platform.system()
- for plugin in self.config["enabled_plugins"]:
- url += "&plugins=" + quote_plus(plugin)
+ + "&os=" + platform.system() \
+ + "&plugins=" +
quote_plus(":".join(self.config["enabled_plugins"]))
urlopen(url)
except IOError, e:
log.debug("Network error while trying to send info:
%s", e)
Modified: trunk/deluge/core/preferencesmanager.py
===================================================================
--- trunk/deluge/core/preferencesmanager.py 2009-06-24 03:22:06 UTC (rev
5415)
+++ trunk/deluge/core/preferencesmanager.py 2009-06-24 05:41:30 UTC (rev
5416)
@@ -458,9 +458,8 @@
url =
"http://deluge-torrent.org/stats_get.php?processor=" + \
platform.machine() + "&python=" +
platform.python_version() \
+ "&deluge=" + deluge.common.get_version() \
- + "&os=" + platform.system()
- for plugin in self.config["enabled_plugins"]:
- url += "&plugins=" + quote_plus(plugin)
+ + "&os=" + platform.system() \
+ + "&plugins=" +
quote_plus(":".join(self.config["enabled_plugins"]))
urlopen(url)
except IOError, e:
log.debug("Network error while trying to send info:
%s", e)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---