git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added quote_string method()
[sfa.git]
/
sfa
/
util
/
genitable.py
diff --git
a/sfa/util/genitable.py
b/sfa/util/genitable.py
index
32aa719
..
1920969
100644
(file)
--- a/
sfa/util/genitable.py
+++ b/
sfa/util/genitable.py
@@
-124,6
+124,9
@@
class GeniTable(list):
self.db.do(query_str, db_fields)
self.db.commit()
+ def quote_string(self, value):
+ return str(self.quote(value))
+
def quote(self, value):
"""
Returns quoted version of the specified value.