diff options
author | Filippo Valsorda - Campagna <filosottile.wiki@gmail.com> | 2012-04-10 16:46:36 +0200 |
---|---|---|
committer | Filippo Valsorda - Campagna <filosottile.wiki@gmail.com> | 2012-04-10 16:46:36 +0200 |
commit | d11d05d07acdd11a93b02d750852dea4ae32be3b (patch) | |
tree | 569e6b7b11555b277660534603d2119960d12750 | |
parent | e179aadfdf6285cde24ebaab67ccefebe594f3b6 (diff) |
better naming for the sub-modules
-rw-r--r-- | youtube_dl/FileDownloader.py | 2 | ||||
-rw-r--r-- | youtube_dl/InfoExtractors.py | 2 | ||||
-rw-r--r-- | youtube_dl/PostProcessor.py (renamed from youtube_dl/PostProcessing.py) | 2 | ||||
-rw-r--r-- | youtube_dl/__init__.py | 4 | ||||
-rw-r--r-- | youtube_dl/utils.py (renamed from youtube_dl/Utils.py) | 0 |
5 files changed, 5 insertions, 5 deletions
diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py index 63b29a837..2bc0b0d4e 100644 --- a/youtube_dl/FileDownloader.py +++ b/youtube_dl/FileDownloader.py @@ -14,7 +14,7 @@ import urllib2 if os.name == 'nt': import ctypes -from Utils import * +from utils import * class FileDownloader(object): diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index b840bf660..4314f1402 100644 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -34,7 +34,7 @@ try: except ImportError: # Python<2.5: Not officially supported, but let it slip warnings.warn('xml.etree.ElementTree support is missing. Consider upgrading to Python >= 2.5 if you get related errors.') -from Utils import * +from utils import * class InfoExtractor(object): diff --git a/youtube_dl/PostProcessing.py b/youtube_dl/PostProcessor.py index 90ac07af4..52e686a7f 100644 --- a/youtube_dl/PostProcessing.py +++ b/youtube_dl/PostProcessor.py @@ -6,7 +6,7 @@ import subprocess import sys import time -from Utils import * +from utils import * class PostProcessor(object): diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index b4141b69e..5e500d5e0 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -38,10 +38,10 @@ import sys import urllib2 import warnings -from Utils import * +from utils import * from FileDownloader import * from InfoExtractors import * -from PostProcessing import * +from PostProcessor import * def updateSelf(downloader, filename): ''' Update the program file with the latest version from the repository ''' diff --git a/youtube_dl/Utils.py b/youtube_dl/utils.py index 737cca8e1..737cca8e1 100644 --- a/youtube_dl/Utils.py +++ b/youtube_dl/utils.py |