- Timestamp:
- 04/06/04 14:00:21 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/tool.py
r1421 r1426 22 22 # 23 23 # $Log$ 24 # Revision 1.80 2004/04/06 12:00:21 jalet 25 # uninitialized values caused problems 26 # 24 27 # Revision 1.79 2004/03/28 21:01:29 jalet 25 28 # PYKOTALIMITBY environment variable is now exported too … … 740 743 def exportJobInfo(self) : 741 744 """Exports job information to the environment.""" 742 os.putenv("PYKOTAUSERNAME", s elf.username)743 os.putenv("PYKOTAPRINTERNAME", s elf.printername)744 os.putenv("PYKOTAJOBID", s elf.jobid)745 os.putenv("PYKOTAUSERNAME", str(self.username)) 746 os.putenv("PYKOTAPRINTERNAME", str(self.printername)) 747 os.putenv("PYKOTAJOBID", str(self.jobid)) 745 748 os.putenv("PYKOTATITLE", self.title or "") 746 749 os.putenv("PYKOTAFILENAME", self.preserveinputfile or "") … … 750 753 def exportUserInfo(self, userpquota) : 751 754 """Exports user information to the environment.""" 752 os.putenv("PYKOTALIMITBY", userpquota.User.LimitBy)755 os.putenv("PYKOTALIMITBY", str(userpquota.User.LimitBy)) 753 756 os.putenv("PYKOTABALANCE", str(userpquota.User.AccountBalance or 0.0)) 754 757 os.putenv("PYKOTALIFETIMEPAID", str(userpquota.User.LifeTimePaid or 0.0))