mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-06 21:54:15 +01:00
Merged in james-duley/librepilot/LP-111_UAVO_hash_only_xml_files (pull request #159)
LP-111 UAVO hash only xml files
This commit is contained in:
commit
596f3cb272
@ -359,6 +359,7 @@ def get_hash_of_dirs(directory, verbose = 0, raw = 0, n = 40):
|
|||||||
files.sort()
|
files.sort()
|
||||||
|
|
||||||
for names in files:
|
for names in files:
|
||||||
|
if names.endswith('.xml')
|
||||||
if verbose == 1:
|
if verbose == 1:
|
||||||
print 'Hashing', names
|
print 'Hashing', names
|
||||||
filepath = os.path.join(root, names)
|
filepath = os.path.join(root, names)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user