Changeset 6899


Ignore:
Timestamp:
27/05/10 23:11:42 (9 years ago)
Author:
astephen
Message:

fixed

Location:
cows_wps/trunk/cows_wps
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/cows_wps/renderer/ui_renderer.py

    r6859 r6899  
    1717        self.template_dir = config["wps.template_dir"] 
    1818        self.templateLoader = TemplateLoader(self.template_dir, auto_reload=True) 
    19 #           os.path.join("/usr/local/cwps/cows_wps", 'cows_wps/templates'), 
    20 #           auto_reload=True) 
    2119 
    2220    def _htmlifyItems(self, items): 
  • cows_wps/trunk/cows_wps/sge/sge_py_int.py

    r5615 r6899  
    9797             
    9898        if output: 
    99             log.debug("stdout form qsub: %s" % (output,)) 
     99            log.debug("stdout from qsub: %s" % (output,)) 
    100100 
    101101        # Read stout to get the job id 
  • cows_wps/trunk/cows_wps/utils/common.py

    r5615 r6899  
    1515import string 
    1616import datetime 
     17 
    1718from cows_wps.utils import case_sensitive_ordered_config_parser as cp 
    1819 
     
    197198 
    198199def stringToDateTime(timeString, format="%Y-%m-%d %H:%M:%S", includeMicroseconds=False): 
    199      
     200    
    200201    if includeMicroseconds: 
    201         p1, p2 = timeString.split(".",1) 
     202        p1, p2 = str(timeString).split(".",1) 
    202203        d = datetime.datetime.strptime(p1, format) 
    203204        d = d.replace(microsecond = int(p2)) 
     
    244245     
    245246    return processCallable 
     247 
    246248 
    247249if __name__ == "__main__": 
Note: See TracChangeset for help on using the changeset viewer.