Skip to content
Snippets Groups Projects
Commit 5f7929ab authored by Sebastien Luttringer's avatar Sebastien Luttringer
Browse files

build command check and add script in alpha order

parent 54b95acf
No related branches found
No related tags found
No related merge requests found
......@@ -325,7 +325,7 @@ class SourceImage(Image):
ti.uname = ti.gname = "root"
tarball.addfile(ti)
# adding each file
for fi in os.listdir(directory):
for fi in sorted(os.listdir(directory)):
fp = os.path.join(directory, fi)
# check name
if not re.match("\d+-.*\.py$", fi):
......@@ -348,7 +348,7 @@ class SourceImage(Image):
arrow("Checking %s scripts" % basedirectory)
arrowlevel(1)
# checking each file
for fi in os.listdir(directory):
for fi in sorted(os.listdir(directory)):
# check name
if not re.match("\d+-.*\.py$", fi):
debug("%s skipped: invalid name" % fi)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment