Changeset 3960

Show
Ignore:
Timestamp:
07/04/08 12:16:57 (3 months ago)
Author:
bobbysmith007
Message:

re #3329 removed the decorator that seemed to be breaking backward compatibility

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • timingandestimationplugin/branches/trac0.11/timingandestimationplugin/reportmanager.py

    r3179 r3960  
    102102    # First check to see if we can load an existing version of this report 
    103103    (id, currentversion) = self.get_report_id_and_version(uuid) 
    104     self.log.error("add_report %s (ver:%s) | id: %s currentversion: %s" % (uuid , version, id, currentversion)) 
     104    self.log.debug("add_report %s (ver:%s) | id: %s currentversion: %s" % (uuid , version, id, currentversion)) 
    105105    try: 
    106106      if not id: 
  • timingandestimationplugin/branches/trac0.11/timingandestimationplugin/tande_filters.py

    r3363 r3960  
    7979            ).apply(FilterTransformation(RowFilter(self))) 
    8080 
     81 
     82 
     83#@staticmethod 
     84def disable_field(field_stream): 
     85    value = Stream(field_stream).select('@value').render() 
     86     
     87    for kind,data,pos in tag.span(value, id="field-totalhours").generate(): 
     88        yield kind,data,pos 
     89 
    8190class TotalHoursFilter(Component): 
    8291    """Disable editing of the Total Hours field so that we don't need Javascript.""" 
     
    9099        return stream | Transformer( 
    91100            '//input[@id="field-totalhours" and @type="text" and @name="field_totalhours"]' 
    92             ).apply(FilterTransformation(self.disable_field)) 
     101            ).apply(FilterTransformation(disable_field)) 
    93102 
    94103 
    95     @staticmethod 
    96     def disable_field(field_stream): 
    97         value = Stream(field_stream).select('@value').render() 
    98104 
    99         for kind,data,pos in tag.span(value, id="field-totalhours").generate(): 
    100             yield kind,data,pos 
    101105 
     106