better naming for the sub-modules
This commit is contained in:
parent
e179aadfdf
commit
d11d05d07a
@ -14,7 +14,7 @@ import urllib2
|
|||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
import ctypes
|
import ctypes
|
||||||
|
|
||||||
from Utils import *
|
from utils import *
|
||||||
|
|
||||||
|
|
||||||
class FileDownloader(object):
|
class FileDownloader(object):
|
||||||
|
@ -34,7 +34,7 @@ try:
|
|||||||
except ImportError: # Python<2.5: Not officially supported, but let it slip
|
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.')
|
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):
|
class InfoExtractor(object):
|
||||||
|
@ -6,7 +6,7 @@ import subprocess
|
|||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from Utils import *
|
from utils import *
|
||||||
|
|
||||||
|
|
||||||
class PostProcessor(object):
|
class PostProcessor(object):
|
@ -38,10 +38,10 @@ import sys
|
|||||||
import urllib2
|
import urllib2
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
from Utils import *
|
from utils import *
|
||||||
from FileDownloader import *
|
from FileDownloader import *
|
||||||
from InfoExtractors import *
|
from InfoExtractors import *
|
||||||
from PostProcessing import *
|
from PostProcessor import *
|
||||||
|
|
||||||
def updateSelf(downloader, filename):
|
def updateSelf(downloader, filename):
|
||||||
''' Update the program file with the latest version from the repository '''
|
''' Update the program file with the latest version from the repository '''
|
||||||
|
Loading…
Reference in New Issue
Block a user