Fix undefined variable.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
This commit is contained in:
brian m. carlson 2014-08-12 22:57:33 +00:00
parent 72f24f1bb4
commit a0ca0da0f5
No known key found for this signature in database
GPG key ID: BF535D811F52F68B

View file

@ -375,11 +375,11 @@ class Schema:
elif rectype in ['pvu', 'preview']:
cheatsheet = i.fields[1]
if cheatsheet[0] == "/":
sch._cheatsheet = cheatsheet
self._cheatsheet = cheatsheet
elif cheatsheet[0] == "~":
sch._cheatsheet = os.path.expanduser(cheatsheet)
self._cheatsheet = os.path.expanduser(cheatsheet)
else:
sch._cheatsheet = path + "/" + cheatsheet
self._cheatsheet = path + "/" + cheatsheet
elif rectype in ['col', 'column']:
self._columns = int(i.fields[1])
elif rectype in ['txn', 'transaction']: