def get_working_dir(self):
        file_name = self._active_file_name()
        if file_name:
            return os.path.realpath(os.path.dirname(file_name))
        try:  # handle case with no open folder
            return self.window.folders()[0]
        except __HOLE__:
            return ''
dataset/ETHPy150Open kemayo/sublime-text-git/git/__init__.py/GitWindowCommand.get_working_dir