projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 692 vmware vcd vimconnnector: Fix parsing vAppTemplate response
[osm/RO.git]
/
osm_ro
/
db_base.py
diff --git
a/osm_ro/db_base.py
b/osm_ro/db_base.py
index
be681e3
..
e6e1134
100644
(file)
--- a/
osm_ro/db_base.py
+++ b/
osm_ro/db_base.py
@@
-591,7
+591,7
@@
class db_base():
cmd= "INSERT INTO " + table +" SET " + \
",".join(map(self.__tuple2db_format_set, INSERT.iteritems() ))
if created_time:
cmd= "INSERT INTO " + table +" SET " + \
",".join(map(self.__tuple2db_format_set, INSERT.iteritems() ))
if created_time:
- cmd += ",created_at={time
},modified_at={time
}".format(time=created_time)
+ cmd += ",created_at={time
:.9f},modified_at={time:.9f
}".format(time=created_time)
if confidential_data:
index = cmd.find("SET")
subcmd = cmd[:index] + 'SET...'
if confidential_data:
index = cmd.find("SET")
subcmd = cmd[:index] + 'SET...'