better naming for the sub-modules
authorFilippo Valsorda - Campagna <filosottile.wiki@gmail.com>
Tue, 10 Apr 2012 14:46:36 +0000 (16:46 +0200)
committerFilippo Valsorda - Campagna <filosottile.wiki@gmail.com>
Tue, 10 Apr 2012 14:46:36 +0000 (16:46 +0200)
youtube_dl/FileDownloader.py
youtube_dl/InfoExtractors.py
youtube_dl/PostProcessor.py [moved from youtube_dl/PostProcessing.py with 99% similarity]
youtube_dl/__init__.py
youtube_dl/utils.py [moved from youtube_dl/Utils.py with 100% similarity]

index 63b29a837c2cac0710329eaa6e3ab1cf38639b61..2bc0b0d4e98d4294984ce87ca22238ca8e08b621 100644 (file)
@@ -14,7 +14,7 @@ import urllib2
 if os.name == 'nt':
        import ctypes
        
-from Utils import *
+from utils import *
 
 
 class FileDownloader(object):
index b840bf66010bf631fe3310c3c4e56e8d5c6b9576..4314f14022b650cb965707ee5c90e07fbecd67c4 100644 (file)
@@ -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):
similarity index 99%
rename from youtube_dl/PostProcessing.py
rename to youtube_dl/PostProcessor.py
index 90ac07af4de73c4c2f11c64f42a639c71d22f5b0..52e686a7f5ad1c52e7e1b717850f785282d5e944 100644 (file)
@@ -6,7 +6,7 @@ import subprocess
 import sys
 import time
 
-from Utils import *
+from utils import *
 
 
 class PostProcessor(object):
index b4141b69ebc430de142a6271814293f83c2afa27..5e500d5e0243052eeb762f9cdf15de3c3782ddae 100644 (file)
@@ -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 '''
similarity index 100%
rename from youtube_dl/Utils.py
rename to youtube_dl/utils.py