

def record_path(self, view):
    if view.file_name():
        global current_path
        current_path = os.path.dirname(view.file_name())

dataset/ETHPy150Open guillermooo/Mercurial/mercurial_cli.py SublimeHgCliEventListener.record_path/original