Skip to content

Commit

Permalink
Fix type error on ldapsearch manage command error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed Dec 29, 2016
1 parent e2f1f98 commit cd6662d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pucas/management/commands/ldapsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def handle(self, *args, **options):
for attr in settings.PUCAS_LDAP['ATTRIBUTES']:
self.stdout.write('%-15s %s' % (attr, getattr(info, attr)))
except LDAPSearchException as err:
self.stderr.write(self.style.ERROR(err))
self.stderr.write(self.style.ERROR(str(err)))

0 comments on commit cd6662d

Please sign in to comment.