removed error check on os.remove

This commit is contained in:
Curt Hash 2009-10-15 09:35:42 -06:00
parent f583b2851e
commit f19f096082
1 changed files with 1 additions and 5 deletions

View File

@ -157,11 +157,7 @@ while True:
continue
# remove the file
try:
os.remove(os.path.join(IP_DIR, ip))
except Exception as e:
print('pollster: could not remove %s' % os.path.join(IP_DIR, ip))
traceback.print_exc()
os.remove(os.path.join(IP_DIR, ip))
results = {}