From f19f096082f5d0fae2b479484dc3a9d800dfce63 Mon Sep 17 00:00:00 2001 From: Curt Hash Date: Thu, 15 Oct 2009 09:35:42 -0600 Subject: [PATCH] removed error check on os.remove --- pollster/pollster.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pollster/pollster.py b/pollster/pollster.py index 0016464..b21921c 100755 --- a/pollster/pollster.py +++ b/pollster/pollster.py @@ -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 = {}