mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
practracker: Don't read editor temp files
(Or any dot files.) Obviously correct changes to already-reviewed code.
This commit is contained in:
parent
68befa3b84
commit
18e09913bf
@ -33,6 +33,9 @@ def get_tor_c_files(tor_topdir, include_dirs=None):
|
||||
# We only care about .c and .h files
|
||||
if not (filename.endswith(".c") or filename.endswith(".h")):
|
||||
continue
|
||||
# Avoid editor temporary files
|
||||
if filename.startswith("."):
|
||||
continue
|
||||
if filename in EXCLUDE_FILES:
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user