ostinelli / SublimErl

An Erlang Plugin for Sublime Text 2, which enables code completion and allows you to run tests within the editor itself.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

need check "None" value in source file 'sublimerl_core.py'

JasonZhu opened this issue · comments

need check "None" value in source file 'sublimerl_core.py'
in Sublimerl ver 0.5.1

1).

def set_app_name(self):
    # get app file
    if self.test_root == None:
        self.app_name = None
        return  
    src_path = os.path.join(self.test_root, 'src')
....

Screen Shot 2013-03-24 at 18 50 47

2).

def execute_os_command(self, os_cmd, dir_type=None, block=False, log=True):
    # set dir
    if dir_type == 'project': 
        if self.project_root != None: os.chdir(self.project_root)
    elif dir_type == 'test': 
        if self.test_root != None: os.chdir(self.test_root)
....

Screen Shot 2013-03-24 at 18 50 31

thanks~

I've no idea what you are referring to, nor in which way these screenshots / code snippets differ.

What is the error or erratic behaviour and what are you trying to solve.