Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
import pydevd_file_utils and invoke functions as module attributes (#310
Browse files Browse the repository at this point in the history
)

Part of #241
  • Loading branch information
DonJayamanne authored Apr 4, 2018
1 parent 44d18a0 commit 88add63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ptvsd/pydevd/_pydevd_bundle/pydevd_comm.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
from _pydevd_bundle import pydevd_xml
from _pydevd_bundle import pydevd_vm_type
from pydevd_file_utils import get_abs_path_real_path_and_base_from_frame, NORM_PATHS_AND_BASE_CONTAINER, norm_file_to_client
import pydevd_file_utils
import sys
import traceback
from _pydevd_bundle.pydevd_utils import quote_smart as quote, compare_object_attrs_key, to_string
Expand Down Expand Up @@ -690,7 +691,7 @@ def make_thread_suspend_str(self, thread_id, frame, stop_reason, message, suspen

abs_path_real_path_and_base = get_abs_path_real_path_and_base_from_frame(curr_frame)

myFile = norm_file_to_client(abs_path_real_path_and_base[0])
myFile = pydevd_file_utils.norm_file_to_client(abs_path_real_path_and_base[0])
if file_system_encoding.lower() != "utf-8" and hasattr(myFile, "decode"):
# myFile is a byte string encoded using the file system encoding
# convert it to utf8
Expand Down

0 comments on commit 88add63

Please sign in to comment.