aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-01-10 19:27:22 +0100
committerremitamine <remitamine@gmail.com>2016-01-10 19:27:22 +0100
commit6ec6cb4e956abbd76a6ff42336821770a5fbbcc7 (patch)
treefbd8d76f3c9a04d999f5b0853b25deacfe715f31
parent36a0e46c39ea4f211dea9944177976e8f8364736 (diff)
downloadyoutube-dl-6ec6cb4e956abbd76a6ff42336821770a5fbbcc7.tar.xz
Revert "fix typos"
This reverts commit 36a0e46c39ea4f211dea9944177976e8f8364736.
-rwxr-xr-xyoutube_dl/YoutubeDL.py4
-rw-r--r--youtube_dl/utils.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 6afc1b730..d50b7cfed 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -241,7 +241,7 @@ class YoutubeDL(object):
- "detect_or_warn": check whether we can do anything
about it, warn otherwise (default)
source_address: (Experimental) Client-side IP address to bind to.
- call_home: Boolean, true if we are allowed to contact the
+ call_home: Boolean, true iff we are allowed to contact the
youtube-dl servers for debugging.
sleep_interval: Number of seconds to sleep before each download.
listformats: Print an overview of available video formats and exit.
@@ -590,7 +590,7 @@ class YoutubeDL(object):
return None
def _match_entry(self, info_dict, incomplete):
- """ Returns None if the file should be downloaded """
+ """ Returns None iff the file should be downloaded """
video_title = info_dict.get('title', info_dict.get('id', 'video'))
if 'title' in info_dict:
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index e583299c5..9c1c0e0bd 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -1857,7 +1857,7 @@ def encode_data_uri(data, mime_type):
def age_restricted(content_limit, age_limit):
- """ Returns True if the content should be blocked """
+ """ Returns True iff the content should be blocked """
if age_limit is None: # No limit set
return False