Ignore Contractor member accounts on portal import
This commit is contained in:
parent
f4af053c91
commit
dd68adfe68
|
@ -91,6 +91,12 @@ print('Using import date:', import_date)
|
||||||
for o in old:
|
for o in old:
|
||||||
new = {}
|
new = {}
|
||||||
|
|
||||||
|
if o.status == 'Contractor':
|
||||||
|
print('Skipping contractor member #{} - {} {}'.format(
|
||||||
|
o.id, o.first_name, o.last_name
|
||||||
|
))
|
||||||
|
continue
|
||||||
|
|
||||||
for f in MEMBER_FIELDS:
|
for f in MEMBER_FIELDS:
|
||||||
new[f] = o.__dict__.get(f, None)
|
new[f] = o.__dict__.get(f, None)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user