summaryrefslogtreecommitdiffstats
path: root/deluge/core
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/core')
-rw-r--r--deluge/core/authmanager.py2
-rw-r--r--deluge/core/core.py6
-rw-r--r--deluge/core/torrent.py10
-rw-r--r--deluge/core/torrentmanager.py6
4 files changed, 12 insertions, 12 deletions
diff --git a/deluge/core/authmanager.py b/deluge/core/authmanager.py
index 0d997c10c..713373e99 100644
--- a/deluge/core/authmanager.py
+++ b/deluge/core/authmanager.py
@@ -101,7 +101,7 @@ class AuthManager(component.Component):
int: The auth level for this user.
Raises:
- AuthenticationRequired: If aditional details are required to authenticate.
+ AuthenticationRequired: If additional details are required to authenticate.
BadLoginError: If the username does not exist or password does not match.
"""
diff --git a/deluge/core/core.py b/deluge/core/core.py
index cdf1ec39b..ff1aed022 100644
--- a/deluge/core/core.py
+++ b/deluge/core/core.py
@@ -267,7 +267,7 @@ class Core(component.Component):
version (str): The version string in PEP440 dotted notation.
Returns:
- str: The formattted peer_id with Deluge prefix e.g. '--DE200s--'
+ str: The formatted peer_id with Deluge prefix e.g. '--DE200s--'
"""
split = deluge.common.VersionSplit(version)
@@ -456,7 +456,7 @@ class Core(component.Component):
return result
d = self.torrentmanager.prefetch_metadata(magnet, timeout)
- # Use a seperate callback chain to handle existing prefetching magnet.
+ # Use a separate callback chain to handle existing prefetching magnet.
result_d = defer.Deferred()
d.addBoth(on_metadata, result_d)
return result_d
@@ -747,7 +747,7 @@ class Core(component.Component):
import traceback
traceback.print_exc()
- # Torrent was probaly removed meanwhile
+ # Torrent was probably removed meanwhile
return {}
# Ask the plugin manager to fill in the plugin keys
diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py
index 9dc2d4163..d7dab95bf 100644
--- a/deluge/core/torrent.py
+++ b/deluge/core/torrent.py
@@ -431,14 +431,14 @@ class Torrent(object):
# Setting the priorites for all the pieces of this torrent
self.handle.prioritize_pieces(priorities)
- def set_sequential_download(self, set_sequencial):
+ def set_sequential_download(self, sequential):
"""Sets whether to download the pieces of the torrent in order.
Args:
- set_sequencial (bool): Enable sequencial downloading.
+ sequential (bool): Enable sequential downloading.
"""
- self.options['sequential_download'] = set_sequencial
- self.handle.set_sequential_download(set_sequencial)
+ self.options['sequential_download'] = sequential
+ self.handle.set_sequential_download(sequential)
def set_auto_managed(self, auto_managed):
"""Set auto managed mode, i.e. will be started or queued automatically.
@@ -1393,7 +1393,7 @@ class Torrent(object):
This basically does a file rename on all of the folders children.
Args:
- folder (str): The orignal folder name
+ folder (str): The original folder name
new_folder (str): The new folder name
Returns:
diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py
index 174a92dae..67c4cafd1 100644
--- a/deluge/core/torrentmanager.py
+++ b/deluge/core/torrentmanager.py
@@ -96,7 +96,7 @@ class TorrentState: # pylint: disable=old-style-class
super_seeding=False,
name=None,
):
- # Build the class atrribute list from args
+ # Build the class attribute list from args
for key, value in locals().items():
if key == 'self':
continue
@@ -654,7 +654,7 @@ class TorrentManager(component.Component):
# Resume AlertManager if paused for adding torrent to libtorrent.
component.resume('AlertManager')
- # Store the orignal resume_data, in case of errors.
+ # Store the original resume_data, in case of errors.
if resume_data:
self.resume_data[torrent.torrent_id] = resume_data
@@ -1037,7 +1037,7 @@ class TorrentManager(component.Component):
)
def on_torrent_resume_save(dummy_result, torrent_id):
- """Recieved torrent resume_data alert so remove from waiting list"""
+ """Received torrent resume_data alert so remove from waiting list"""
self.waiting_on_resume_data.pop(torrent_id, None)
deferreds = []