mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
remove try for time, it's a normal import anyway
This commit is contained in:
parent
4d3c3570e4
commit
7b71d7eef5
@ -128,10 +128,8 @@ def query(database, query):
|
||||
returns: [{'query time': {'h': '39.0ms', 'raw': '0.03899'}},
|
||||
{'rows affected': 1L}
|
||||
'''
|
||||
#try:
|
||||
|
||||
import time
|
||||
#except ImportError:
|
||||
# timer = False
|
||||
|
||||
#Doesn't do anything about sql warnings, e.g. empty values on an insert.
|
||||
#I don't think it handles multiple queries at once, so adding "commit" might not work.
|
||||
|
Loading…
Reference in New Issue
Block a user