Prerequisites could potentially be a problem (especially if we haven't worked CLA stuff out yet)
This commit is contained in:
parent
67745e9104
commit
aeeb3c638d
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ for group in c.fetchall():
|
||||||
print "%i - %s" % (id, name)
|
print "%i - %s" % (id, name)
|
||||||
try:
|
try:
|
||||||
group = Groups.by_id(id)
|
group = Groups.by_id(id)
|
||||||
if prerequisite_id:
|
#if prerequisite_id:
|
||||||
group.prerequisite = Groups.by_id(prerequisite_id)
|
# group.prerequisite = Groups.by_id(prerequisite_id)
|
||||||
session.flush()
|
session.flush()
|
||||||
except IntegrityError, e:
|
except IntegrityError, e:
|
||||||
print "\tERROR - The group: '%s' (%i) could not be created - %s" % (name, id, e)
|
print "\tERROR - The group: '%s' (%i) could not be created - %s" % (name, id, e)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue