

def validate_id(self, sid):
    if (self._id_regexp.match(sid) is None):
        log.error(("Invalid instance name '%s'. An instance name may only contain letters, numbers, dashes and underscores." % self))
        sys.exit(1)
    return sid

dataset/ETHPy150Open ployground/ploy/ploy/common.py BaseInstance.validate_id/VarMisuse@35/76 `sid`->`self`