Only process source folders, and not files that may be present.

This commit is contained in:
Steven Black 2016-02-23 09:50:20 -05:00
parent f573f78e8b
commit 513bdd1ce8

View File

@ -61,7 +61,6 @@ def myInput(msg = ""):
else:
return raw_input(msg)
# Cross-python writing function
def writeData(f, data):
if Python3:
@ -212,6 +211,7 @@ def matchesExclusions(strippedRule):
def updateAllSources():
allsources = list(set(SOURCES) | set(EXTENSIONS))
for source in allsources:
if os.path.isdir(source):
updateURL = getUpdateURLFromFile(source)
if updateURL is None:
continue