Skip to content

Commit

Permalink
MNT Move import of krtc to within little used function.
Browse files Browse the repository at this point in the history
  • Loading branch information
gadorlhiac committed May 3, 2024
1 parent 3b59475 commit 62a7106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lute/io/elog.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@
from typing import Any, Dict, Optional, List, Union, Tuple
from io import BufferedReader

from krtc import KerberosTicket

from .exceptions import ElogFileFormatError

if __debug__:
Expand Down Expand Up @@ -222,6 +220,8 @@ def get_elog_kerberos_auth() -> Dict[str, str]:
Returns:
auth (Dict[str, str]): Dictionary containing Kerberos authorization key.
"""
from krtc import KerberosTicket

return KerberosTicket("[email protected]").getAuthHeaders()


Expand Down

0 comments on commit 62a7106

Please sign in to comment.