|
|
@@ -151,7 +151,7 @@ class BulkData(object): |
|
|
|
|
|
|
|
# Open and cache it |
|
|
|
self.getnode(unicodepath) |
|
|
|
except: |
|
|
|
except Exception: |
|
|
|
exc_info = sys.exc_info() |
|
|
|
try: |
|
|
|
os.rmdir(ospath) |
|
|
@@ -388,7 +388,7 @@ class Table(object): |
|
|
|
# Try deleting subdir, too |
|
|
|
try: |
|
|
|
os.rmdir(os.path.join(self.root, subdir)) |
|
|
|
except: |
|
|
|
except Exception: |
|
|
|
pass |
|
|
|
|
|
|
|
# Cache open files |
|
|
@@ -521,7 +521,7 @@ class Table(object): |
|
|
|
with open(cachefile, "rb") as f: |
|
|
|
ranges = pickle.load(f) |
|
|
|
cachefile_present = True |
|
|
|
except: |
|
|
|
except Exception: |
|
|
|
ranges = [] |
|
|
|
cachefile_present = False |
|
|
|
|
|
|
|