Diff for /zogiLib/zogiLib.py between versions 1.50 and 1.52

version 1.50, 2004/10/27 09:08:03 version 1.52, 2004/11/03 15:24:46
Line 15  import types Line 15  import types
 import random  import random
 from Globals import package_home  from Globals import package_home
   
 ZOGIVERSION = "0.9.12b ROC:27.10.2004"  ZOGIVERSION = "0.9.13b ROC:3.11.2004"
   
 def cropf(f):  def cropf(f):
     """returns a float with reduced precision"""      """returns a float with reduced precision"""
Line 48  def browserCheck(self): Line 48  def browserCheck(self):
     bt = {}      bt = {}
     ua = self.REQUEST.get_header("HTTP_USER_AGENT")      ua = self.REQUEST.get_header("HTTP_USER_AGENT")
     bt['ua'] = ua      bt['ua'] = ua
       bt['isIE'] = False
       bt['isN4'] = False
     if string.find(ua, 'MSIE') > -1:      if string.find(ua, 'MSIE') > -1:
         bt['isIE'] = True          bt['isIE'] = True
     else:      else:

Removed from v.1.50  
changed lines
  Added in v.1.52


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>