Removed debugging for walk
Application profiles now seam properly integrated by setup.py, remote profiles have not yet been tested.
This commit is contained in:
parent
7764804d4c
commit
393758ec24
|
|
@ -23,9 +23,6 @@ def list_profiles(filter_irrelevant_macs=True, subpath=''):
|
||||||
cache = {}
|
cache = {}
|
||||||
# Grab all local profiles found in PROFILE_PATH
|
# Grab all local profiles found in PROFILE_PATH
|
||||||
for PATH_ITEM in storage['PROFILE_PATH']:
|
for PATH_ITEM in storage['PROFILE_PATH']:
|
||||||
import time
|
|
||||||
print('Walking:', os.path.abspath(os.path.expanduser(PATH_ITEM+subpath)))
|
|
||||||
time.sleep(3)
|
|
||||||
for root, folders, files in os.walk(os.path.abspath(os.path.expanduser(PATH_ITEM+subpath))):
|
for root, folders, files in os.walk(os.path.abspath(os.path.expanduser(PATH_ITEM+subpath))):
|
||||||
for file in files:
|
for file in files:
|
||||||
if os.path.splitext(file)[1] == '.py':
|
if os.path.splitext(file)[1] == '.py':
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue