r373 - in /debtorrent/trunk: DebTorrent/__init__.py DebTorrent/launchmanycore.py debian/changelog

camrdale-guest at users.alioth.debian.org camrdale-guest at users.alioth.debian.org
Wed Feb 13 00:22:02 UTC 2008


Author: camrdale-guest
Date: Wed Feb 13 00:22:02 2008
New Revision: 373

URL: http://svn.debian.org/wsvn/debtorrent/?sc=1&rev=373
Log:
* Display the torrent identifier on the local status page
  rather than the info hash (Closes: #465339)

Modified:
    debtorrent/trunk/DebTorrent/__init__.py
    debtorrent/trunk/DebTorrent/launchmanycore.py
    debtorrent/trunk/debian/changelog

Modified: debtorrent/trunk/DebTorrent/__init__.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/__init__.py?rev=373&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/__init__.py (original)
+++ debtorrent/trunk/DebTorrent/__init__.py Wed Feb 13 00:22:02 2008
@@ -22,7 +22,7 @@
 """
 
 product_name = 'DebTorrent'
-version_short = 'T-0.1.6'
+version_short = 'T-0.1.6.1'
 
 version = version_short+' ('+product_name+')'
 report_email = 'debtorrent-devel at lists.alioth.debian.org'

Modified: debtorrent/trunk/DebTorrent/launchmanycore.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/DebTorrent/launchmanycore.py?rev=373&op=diff
==============================================================================
--- debtorrent/trunk/DebTorrent/launchmanycore.py (original)
+++ debtorrent/trunk/DebTorrent/launchmanycore.py Wed Feb 13 00:22:02 2008
@@ -433,6 +433,7 @@
         data = []
         for hash in self.torrent_list:
             cache = self.torrent_cache[hash]
+            id = cache['metainfo'].get('identifier', hash)
             if self.config['display_path']:
                 name = cache['path']
             else:
@@ -489,7 +490,7 @@
             else:
                 msg = ''
 
-            data.append(( name, hash, status, progress, peers, seeds, seedsmsg, 
+            data.append(( name, id, status, progress, peers, seeds, seedsmsg, 
                           dist, uprate, dnrate, upamt, dnamt, size, t, msg ))
 
         return data

Modified: debtorrent/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/debian/changelog?rev=373&op=diff
==============================================================================
--- debtorrent/trunk/debian/changelog (original)
+++ debtorrent/trunk/debian/changelog Wed Feb 13 00:22:02 2008
@@ -1,3 +1,10 @@
+debtorrent (0.1.6.1) unstable; urgency=low
+
+  * Display the torrent identifier on the local status page
+    rather than the info hash (Closes: #465339)
+
+ -- Cameron Dale <camrdale at gmail.com>  Tue, 12 Feb 2008 23:13:24 -0800
+
 debtorrent (0.1.6) experimental; urgency=low
 
   * Add support for unique piece numbers




More information about the Debtorrent-commits mailing list