Skip to content

Commit 975aee2

Browse files
author
gcode@loowis.durge.org
committed
Fix error-class typo
1 parent 91fab1f commit 975aee2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/wrapfs/limitsizefs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(self, fs, max_size):
2626
if max_size < 0:
2727
try:
2828
max_size = fs.getmeta("total_space") + max_size
29-
except NotMetaError:
29+
except NoMetaError:
3030
msg = "FS doesn't report total_size; "\
3131
"can't use negative max_size"
3232
raise ValueError(msg)

0 commit comments

Comments
 (0)