DEV: Allow Authenticator.add_user to not be a future.

This commit is contained in:
Scott Sanderson
2015-01-30 12:30:28 -05:00
parent 353c70e8b0
commit b578e7527d

View File

@@ -548,7 +548,7 @@ class JupyterHub(Application):
db.commit() db.commit()
for user in new_users: for user in new_users:
yield self.authenticator.add_user(user) yield gen.maybe_future(self.authenticator.add_user(user))
db.commit() db.commit()
user_summaries = [''] user_summaries = ['']