add missing assignment
This commit is contained in:
parent
6122164990
commit
0b1249ed5d
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ class Ident(object):
|
||||||
if not self.ident_quoted:
|
if not self.ident_quoted:
|
||||||
with self._conn.cursor() as curs:
|
with self._conn.cursor() as curs:
|
||||||
curs.execute("SELECT quote_ident(%s)", (self.ident,))
|
curs.execute("SELECT quote_ident(%s)", (self.ident,))
|
||||||
|
self.ident_quoted = curs.fetchone()[0]
|
||||||
return self.ident_quoted
|
return self.ident_quoted
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|
Loading…
Reference in a new issue