Some linting.
This commit is contained in:
parent
0df556da3f
commit
865c3011e5
3 changed files with 1 additions and 3 deletions
|
@ -4,7 +4,6 @@ but are returned by the PDB accesses.
|
||||||
'''
|
'''
|
||||||
import os
|
import os
|
||||||
import PIL.Image
|
import PIL.Image
|
||||||
import string
|
|
||||||
import send2trash
|
import send2trash
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ import logging
|
||||||
import os
|
import os
|
||||||
import random
|
import random
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import string
|
|
||||||
import tempfile
|
import tempfile
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,7 @@ def minmax(key, value, minimums, maximums, warning_bag=None):
|
||||||
|
|
||||||
except exceptions.OutOfOrder as exc:
|
except exceptions.OutOfOrder as exc:
|
||||||
if warning_bag:
|
if warning_bag:
|
||||||
warning_bag.add(e.error_message)
|
warning_bag.add(exc.error_message)
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in a new issue