Changeset 1785 for pykota/trunk/bin/pykotme
- Timestamp:
- 10/06/04 12:05:47 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pykotme
r1584 r1785 24 24 # 25 25 # $Log$ 26 # Revision 1.14 2004/10/06 10:05:47 jalet 27 # Minor changes to allow any PyKota administrator to launch enhanced versions 28 # of the commands, and not only the root user. 29 # 26 30 # Revision 1.13 2004/07/01 19:56:42 jalet 27 31 # Better dispatching of error messages … … 157 161 158 162 # get current user 159 uid = os.geteuid() 160 username = pwd.getpwuid(uid)[0] 163 username = pwd.getpwuid(os.geteuid())[0] 161 164 user = self.storage.getUser(username) 162 165 if user.Exists and user.LimitBy and (user.LimitBy.lower() == "balance"):