Fix typo in freshly added check.

This commit is contained in:
Dave Page 2017-05-25 17:10:41 -04:00
parent e9da157cc7
commit 2f097cd016

View File

@ -354,7 +354,7 @@ class TablespaceView(PGChildNodeView):
try:
SQL, name = self.get_sql(gid, sid, data, tsid)
# Most probably this is due to error
if not isinstance(sql, (str, unicode)):
if not isinstance(SQL, (str, unicode)):
return SQL
SQL = SQL.strip('\n').strip(' ')