فهرست منبع

better naming for the sub-modules

Filippo Valsorda - Campagna 13 سال پیش
والد
کامیت
d11d05d07a
5فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 1 1
      youtube_dl/FileDownloader.py
  2. 1 1
      youtube_dl/InfoExtractors.py
  3. 1 1
      youtube_dl/PostProcessor.py
  4. 2 2
      youtube_dl/__init__.py
  5. 0 0
      youtube_dl/utils.py

+ 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