Commit 1a345a51 authored by Michal Čihař's avatar Michal Čihař

Simplify condition

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent b75e8bff
...@@ -70,7 +70,7 @@ class Command(BaseCommand): ...@@ -70,7 +70,7 @@ class Command(BaseCommand):
) )
continue continue
if not line['last_name'] in line['first_name']: if line['last_name'] not in line['first_name']:
full_name = u'{0} {1}'.format( full_name = u'{0} {1}'.format(
line['first_name'], line['first_name'],
line['last_name'] line['last_name']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment