forked from premiere/premiere-libtorrent
fix import issue
This commit is contained in:
parent
d93bd674d5
commit
81127c05e0
|
@ -43,6 +43,8 @@ import json
|
||||||
import sys
|
import sys
|
||||||
import yaml
|
import yaml
|
||||||
from multiprocessing import Pool
|
from multiprocessing import Pool
|
||||||
|
import glob
|
||||||
|
import shutil
|
||||||
|
|
||||||
# the .regression.yml configuration file format looks like this (it's yaml):
|
# the .regression.yml configuration file format looks like this (it's yaml):
|
||||||
|
|
||||||
|
@ -302,7 +304,7 @@ def main(argv):
|
||||||
# won't clean things outside of the test directory
|
# won't clean things outside of the test directory
|
||||||
if not os.path.abspath(f).startswith(test_dir): continue
|
if not os.path.abspath(f).startswith(test_dir): continue
|
||||||
print 'deleting %s' %f
|
print 'deleting %s' %f
|
||||||
os.rmdirs(f)
|
shutil.rmtree(f)
|
||||||
finally:
|
finally:
|
||||||
# always restore current directory
|
# always restore current directory
|
||||||
os.chdir(current_dir)
|
os.chdir(current_dir)
|
||||||
|
|
Loading…
Reference in New Issue