chiark / gitweb /
Remove commented-out account line
authorMatthew Vernon <mv3@sanger.ac.uk>
Fri, 5 Oct 2018 08:33:42 +0000 (09:33 +0100)
committerMatthew Vernon <mv3@sanger.ac.uk>
Fri, 5 Oct 2018 08:33:42 +0000 (09:33 +0100)
(previous work thought that ServiceAccount might be misbehaving)

gooswapper.py

index 7fbee9c3ddcc1f5a4acaf74bf5188441c6a3facb..2c32deb1e1b0d32d54fc884f348d0d52a9e88b5d 100644 (file)
@@ -70,7 +70,6 @@ def get_ex_cred(username="SANGER\mv3",password=None):
     if password is None:
         password = getpass.getpass(prompt="Password for user %s: " % username)
     return exchangelib.ServiceAccount(username,password)
-#    return exchangelib.Credentials(username,password)
 
 def ex_login(emailaddr,autodiscover=True):
     global exchange_credential