ajack       2003/09/26 13:39:45

  Modified:    python/gump __init__.py
  Log:
  1) implement initial switch.optimize & switch.optimizenetwork
  2) gump cache ought defer to urllib caching if not optimizing all/network
  
  Revision  Changes    Path
  1.14      +4 -4      jakarta-gump/python/gump/__init__.py
  
  Index: __init__.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/__init__.py,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- __init__.py       26 Sep 2003 20:35:21 -0000      1.13
  +++ __init__.py       26 Sep 2003 20:39:45 -0000      1.14
  @@ -156,7 +156,7 @@
   
       #download the file if not present in the cache
       usecached=0
  -    if settings.optimize or settings.optimizenetwork:
  +    if switch.optimize or switch.optimizenetwork:
           if os.path.exists(cachedHrefFile):
             log.info('using cached descriptor for ' + href)
             usecached=1
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to