From d11d05d07acdd11a93b02d750852dea4ae32be3b Mon Sep 17 00:00:00 2001 From: Filippo Valsorda - Campagna Date: Tue, 10 Apr 2012 16:46:36 +0200 Subject: [PATCH] better naming for the sub-modules --- youtube_dl/FileDownloader.py | 2 +- youtube_dl/InfoExtractors.py | 2 +- youtube_dl/{PostProcessing.py => PostProcessor.py} | 2 +- youtube_dl/__init__.py | 4 ++-- youtube_dl/{Utils.py => utils.py} | 0 5 files changed, 5 insertions(+), 5 deletions(-) rename youtube_dl/{PostProcessing.py => PostProcessor.py} (99%) rename youtube_dl/{Utils.py => utils.py} (100%) 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 similarity index 99% rename from youtube_dl/PostProcessing.py rename to 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 similarity index 100% rename from youtube_dl/Utils.py rename to youtube_dl/utils.py -- 2.22.2