def updateVariableString(self, num=None):
        if num is None:
            self.selectNum = -1
            numString = '-- '
        elif 0 < num < 10:
            self.selectNum = num
            numString = "-%s " % num
        else:
            self.selectNum = num
            numString = "%s " % num

        varString = numString + self.varName + ' ' + str(self.variable.shape)
        self.setData(0, QtCore.QVariant(QtCore.QString(varString)))
Refresh PACKAGESITE contents
dataset/ETHPy150Open VisTrails/VisTrails/contrib/cdat/cdat_window.py/QDefinedVariableItem.updateVariableString--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/pkgng.py/refresh_db