Changeset 2706 for pykota/trunk/pykota/storage.py
- Timestamp:
- 02/17/06 23:51:17 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storage.py
r2699 r2706 96 96 if limitby in ["quota", "balance", \ 97 97 "noquota", "noprint", "nochange"] : 98 self.parent.writeUserLimitBy(self, limitby)99 98 self.LimitBy = limitby 99 self.isDirty = True 100 100 101 101 def setOverChargeFactor(self, factor) : 102 102 """Sets the user's overcharging coefficient.""" 103 self.parent.writeUserOverCharge(self, factor)104 103 self.OverCharge = factor 104 self.isDirty = True 105 105 106 106 def delete(self) : … … 137 137 limitby = "quota" 138 138 if limitby in ["quota", "balance", "noquota"] : 139 self.parent.writeGroupLimitBy(self, limitby)140 139 self.LimitBy = limitby 140 self.isDirty = True 141 142 def addUserToGroup(self, user) : 143 """Adds an user to an users group.""" 144 self.parent.addUserToGroup(user, self) 145 146 def delUserFromGroup(self, user) : 147 """Removes an user from an users group.""" 148 self.parent.delUserFromGroup(user, self) 141 149 142 150 def delete(self) :