'Add a Nuvius resource to self.nuvius_resource'

def add_nuvius_resource(self, resource_id, key=None):

    existing = [res[0] for res in self.get_nuvius_resources()]
    if (not (unicode(resource_id) in existing)):
        new = ('#' + unicode(resource_id))
        if key:
            new += ('.' + unicode(key))
        new += '#'
        if self.nuvius_resource:
            self.nuvius_resource += (',' + new)
        else:
            self.nuvius_resource = new
    return self
