Changeset 65914 in vbox for trunk/src/VBox/ValidationKit/testmanager/core/useraccount.py
- Timestamp:
- Mar 1, 2017 4:09:45 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 113709
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/useraccount.py
r65226 r65914 53 53 ksParam_sEmail = 'UserAccount_sEmail' 54 54 ksParam_sFullName = 'UserAccount_sFullName' 55 ksParam_fReadOnly = 'UserAccount_fReadOnly' 55 56 56 57 kasAllowNullAttributes = ['uid', 'tsEffective', 'tsExpire', 'uidAuthor']; … … 68 69 self.sFullName = None; 69 70 self.sLoginName = None; 71 self.fReadOnly = None; 70 72 71 73 def initFromDbRow(self, aoRow): … … 85 87 self.sFullName = aoRow[6]; 86 88 self.sLoginName = aoRow[7]; 89 self.fReadOnly = aoRow[8]; 87 90 return self; 88 91 … … 157 160 """ 158 161 self._oDb.callProc('UserAccountLogic_addEntry', 159 (uidAuthor, oData.sUsername, oData.sEmail, oData.sFullName, oData.sLoginName, ));162 (uidAuthor, oData.sUsername, oData.sEmail, oData.sFullName, oData.sLoginName, oData.fReadOnly)); 160 163 self._oDb.maybeCommit(fCommit); 161 164 return True; … … 166 169 """ 167 170 self._oDb.callProc('UserAccountLogic_editEntry', 168 (uidAuthor, oData.uid, oData.sUsername, oData.sEmail, oData.sFullName, oData.sLoginName,)); 171 ( uidAuthor, oData.uid, oData.sUsername, oData.sEmail, 172 oData.sFullName, oData.sLoginName, oData.fReadOnly)); 169 173 self._oDb.maybeCommit(fCommit); 170 174 return True;
Note:
See TracChangeset
for help on using the changeset viewer.