def __init__(self, server, url="", username="", password=""): Instance.__init__(self,server) self.instanceTypeName = "skarphed" self.displayName = "Skarphed" self.state = self.STATE_OFFLINE self.scv_loggedin = self.SCV_LOCKED self.load = self.LOADED_NONE self.data = {} self.refreshSessionState = False self.url = url self.username = username self.password = password self.publickey = None self.repo_url = "" self.users = None self.template = None self.roles = None self.modules = None self.sites = None self.operationManager = None self.operationDaemon = None self.maintenance_mode = True self.rendermode = None self.cssPropertySet = None
def __init__(self, server, url="", username="", password=""): Instance.__init__(self,server) self.instanceTypeName = "skarphed_repo" self.displayName = "Skarphed Repository" self.state = self.STATE_OFFLINE self.loggedin = self.SCV_LOCKED self.load = self.LOADED_NONE self.data = {'modules':[], 'developers':[], 'templates':[]} self.url = url self.username = username self.password = password self.newPassword = None