Skip to content

Commit

Permalink
fixes #526522 ldaptor-ldap2passwd --help throws exception.
Browse files Browse the repository at this point in the history
Author: Jan Dittberner <[email protected]>
  • Loading branch information
psi29a committed Jul 4, 2014
1 parent a1d3f7d commit e5bf0fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
/doc/*.dia.png
/ldaptor/test/ldif/webtests.tmp
ldaptor.test.test_config
ldaptor.egg-info/
ldaptor.egg-info
.idea
2 changes: 1 addition & 1 deletion bin/ldaptor-ldap2passwd
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ if __name__ == "__main__":
try:
opts = MyOptions()
opts.parseOptions()
except usage.UsageError, ue:
except usage.usage.UsageError, ue:
sys.stderr.write('%s: %s\n' % (sys.argv[0], ue))
sys.exit(1)

Expand Down

0 comments on commit e5bf0fa

Please sign in to comment.