VirtualBox

Ignore:
Timestamp:
May 30, 2016 12:22:41 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107578
Message:

wuireport.py,++: Added build box failure report. When requesting details on a testcase (or more), you'll now get a report on the test case variations too. Made links include the period length+count and effective date

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/core/useraccount.py

    r61270 r61286  
    121121    def __init__(self, oDb):
    122122        ModelLogicBase.__init__(self, oDb)
    123         self.ahCache = None;
     123        self.dCache = None;
    124124
    125125    def fetchForListing(self, iStart, cMaxRows, tsNow):
     
    232232        Raises exception on DB error.
    233233        """
    234         if self.ahCache is None:
    235             self.ahCache = self._oDb.getCache('UserAccount');
    236 
    237         oUser = self.ahCache.get(uid, None);
     234        if self.dCache is None:
     235            self.dCache = self._oDb.getCache('UserAccount');
     236
     237        oUser = self.dCache.get(uid, None);
    238238        if oUser is None:
    239239            self._oDb.execute('SELECT   *\n'
     
    255255            if self._oDb.getRowCount() == 1:
    256256                oUser = UserAccountData().initFromDbRow(self._oDb.fetchOne());
    257                 self.ahCache[uid] = oUser;
     257                self.dCache[uid] = oUser;
    258258        return oUser;
    259259
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette