Author: andar

Revision: 6046

Log:
        Fix file renaming

Diff:
Modified: branches/1.2_RC/ChangeLog
===================================================================
--- branches/1.2_RC/ChangeLog   2009-12-18 04:59:04 UTC (rev 6045)
+++ branches/1.2_RC/ChangeLog   2009-12-20 03:45:14 UTC (rev 6046)
@@ -1,4 +1,7 @@
 === Deluge 1.2.0_rc6 (In Development) ===
+==== Core ====
+       * Fix file renaming
+
 ==== GtkUI ====
        * Fix #1104, #735 use path.utf-8 if available
 

Modified: branches/1.2_RC/deluge/core/torrentmanager.py
===================================================================
--- branches/1.2_RC/deluge/core/torrentmanager.py       2009-12-18 04:59:04 UTC 
(rev 6045)
+++ branches/1.2_RC/deluge/core/torrentmanager.py       2009-12-20 03:45:14 UTC 
(rev 6046)
@@ -960,7 +960,6 @@
         except:
             return
         torrent_id = str(alert.handle.info_hash())
-        torrent.files[alert.index]["path"] = alert.name
 
         # We need to see if this file index is in a waiting_on_folder list
         folder_rename = False

Modified: trunk/deluge/core/torrentmanager.py
===================================================================
--- trunk/deluge/core/torrentmanager.py 2009-12-18 04:59:04 UTC (rev 6045)
+++ trunk/deluge/core/torrentmanager.py 2009-12-20 03:45:14 UTC (rev 6046)
@@ -975,7 +975,6 @@
         except:
             return
         torrent_id = str(alert.handle.info_hash())
-        torrent.files[alert.index]["path"] = alert.name
 
         # We need to see if this file index is in a waiting_on_folder list
         folder_rename = False


--

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.


Reply via email to