fixed compatibility issues in CRYPT

This commit is contained in:
mdipierro
2012-08-09 23:09:51 -05:00
parent 1906817df8
commit 92925f447b
4 changed files with 11 additions and 4 deletions
+5 -2
View File
@@ -248,8 +248,11 @@ def sort_tables(tables):
def append(table,trail=[]):
if table in trail:
raise RuntimeError
for t in d[table]: append(t,trail=trail+[table])
if not table in tables: tables.append(table)
for t in d[table]:
# if not t==table: (problem, no dropdown for self references)
append(t,trail=trail+[table])
if not table in tables:
tables.append(table)
for table in d: append(table)
return tables