Skip to content

Commit

Permalink
Ditch the 'resolve loads via mod stack' and just do it via the module…
Browse files Browse the repository at this point in the history
…'s dir. Remove 'don't know how to stringize' stuff
  • Loading branch information
aappleby committed Mar 15, 2024
1 parent 292c297 commit 08d4ed0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions hancho.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,9 +733,6 @@ def load_module(self, abs_path):
"""Loads a Hancho module ***while chdir'd into its directory***"""

phys_path = Path(abs_path).resolve()
#print(f"abs_module({abspath(abs_path)})")
#print(f"phys_module({phys_path})")

if phys_path in self.hancho_mods:
return self.hancho_mods[phys_path]

Expand Down

0 comments on commit 08d4ed0

Please sign in to comment.