@classmethod
    def getInstance(cls):
        if cls.instance != None:
            return cls.instance
        else:
            cls.instance = TestPlanSettings()
            try:
                configFile = sys.argv[1]
            except __HOLE__:
                exit("Please specify the configuration file")
            cls.instance._config = ConfigParser.ConfigParser()
            assert len(cls.instance._config.read(configFile)) > 0, "Unable to read the config file"
            return cls.instance
dataset/ETHPy150Open azoft-dev-team/imagrium/src/core/testplan_settings.py/TestPlanSettings.getInstance