Skip to content

Commit

Permalink
Move genie import to usage within function
Browse files Browse the repository at this point in the history
  • Loading branch information
zsoltkebel committed Feb 9, 2024
1 parent 21e5bae commit 1879960
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions installation_and_upgrade/ibex_install_utils/ca_utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import os

from genie_python.utilities import dehex_and_decompress


class CaWrapper:
"""
Wrapper around genie python's channel access class providing some useful abstractions.
Expand Down Expand Up @@ -52,6 +49,7 @@ def get_object_from_compressed_hexed_json(self, name):
if data is None:
return None
else:
from genie_python.utilities import dehex_and_decompress
return dehex_and_decompress(data)

def get_blocks(self):
Expand Down

0 comments on commit 1879960

Please sign in to comment.