2
0
Эх сурвалжийг харах

better naming for the sub-modules

Filippo Valsorda - Campagna 13 жил өмнө
parent
commit
d11d05d07a

+ 1 - 1
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):

+ 1 - 1
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):

+ 1 - 1
youtube_dl/PostProcessing.py → youtube_dl/PostProcessor.py

@@ -6,7 +6,7 @@ import subprocess
 import sys
 import time
 
-from Utils import *
+from utils import *
 
 
 class PostProcessor(object):

+ 2 - 2
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 '''

+ 0 - 0
youtube_dl/Utils.py → youtube_dl/utils.py