mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Merge branch 'tor-github/pr/839'
This commit is contained in:
commit
473decb246
@ -11,6 +11,8 @@ def get_tor_c_files(tor_topdir):
|
|||||||
files_list = []
|
files_list = []
|
||||||
|
|
||||||
for root, directories, filenames in os.walk(tor_topdir):
|
for root, directories, filenames in os.walk(tor_topdir):
|
||||||
|
directories.sort()
|
||||||
|
filenames.sort()
|
||||||
for filename in filenames:
|
for filename in filenames:
|
||||||
# We only care about .c files
|
# We only care about .c files
|
||||||
if not filename.endswith(".c"):
|
if not filename.endswith(".c"):
|
||||||
@ -24,4 +26,3 @@ def get_tor_c_files(tor_topdir):
|
|||||||
files_list.append(full_path)
|
files_list.append(full_path)
|
||||||
|
|
||||||
return files_list
|
return files_list
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user