Changeset ed48c4


Ignore:
Timestamp:
11/03/2015 11:36:26 AM (10 years ago)
Author:
Calum Lind <calumlind+deluge@gmail.com>
Branches:
2.0.x, develop, master
Children:
f500d7
Parents:
1ff189
git-author:
Calum Lind <calumlind+deluge@gmail.com> (11/03/2015 11:36:14 AM)
git-committer:
Calum Lind <calumlind+deluge@gmail.com> (11/03/2015 11:36:26 AM)
Message:

[Core] Remove return true for timer from save_state

Obsolete code for old gobject timer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • deluge/core/torrentmanager.py

    r1ff189 red48c4  
    648648
    649649    def save_state(self):
    650         """Save the state of the TorrentManager to the torrents.state file.
    651 
    652         Returns:
    653             bool: Always returns True so that the timer thread will continue.
    654 
    655         """
     650        """Save the state of the TorrentManager to the torrents.state file."""
    656651        state = self.create_state()
    657652        filename = "torrents.state"
     
    683678                    log.info("Restoring backup of %s from: %s", filename, filepath_bak)
    684679                    os.rename(filepath_bak, filepath)
    685         return True
    686680
    687681    def save_resume_data(self, torrent_ids=None, flush_disk_cache=False):
Note: See TracChangeset for help on using the changeset viewer.