Bladeren bron

Remove unnecessary experiment files

Steven Engler 4 jaren geleden
bovenliggende
commit
a68c35a946
1 gewijzigde bestanden met toevoegingen van 5 en 1 verwijderingen
  1. 5 1
      src/relay_working_experiment.py

+ 5 - 1
src/relay_working_experiment.py

@@ -386,9 +386,13 @@ if __name__ == '__main__':
 									raise
 								#
 							#
+							os.system('rm -rf /run/user/3271/chutney-net/nodes/*/diff-cache')
+							os.system('rm -rf /run/user/3271/chutney-net/nodes/*/keys')
+							os.system('rm -f /run/user/3271/chutney-net/nodes/*/cached-*')
+							os.system('rm -f /run/user/3271/chutney-net/nodes/*/v3-status-votes')
 							shutil.copytree('/run/user/3271/chutney-net/nodes', os.path.join(save_data_path, 'nodes'))
 							os.system("ps u | grep 'tor'")
-							os.system("rm -rf /run/user/3271/chutney-net/*")
+							os.system('rm -rf /run/user/3271/chutney-net/*')
 							break
 						#
 						exp = None