diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 57a168470..9c011bc10 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -68,7 +68,7 @@ class TorrentState: name=None ): # Build the class atrribute list from args - for key, value in locals().iteritems(): + for key, value in locals().items(): if key == "self": continue setattr(self, key, value)