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 PIL.Image
|
||||
import string
|
||||
import send2trash
|
||||
import traceback
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ import logging
|
|||
import os
|
||||
import random
|
||||
import sqlite3
|
||||
import string
|
||||
import tempfile
|
||||
import time
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ def minmax(key, value, minimums, maximums, warning_bag=None):
|
|||
|
||||
except exceptions.OutOfOrder as exc:
|
||||
if warning_bag:
|
||||
warning_bag.add(e.error_message)
|
||||
warning_bag.add(exc.error_message)
|
||||
return
|
||||
else:
|
||||
raise
|
||||
|
|
Loading…
Reference in a new issue