ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/LFNBaseName.py
(Generate patch)

Comparing COMP/CRAB/python/LFNBaseName.py (file contents):
Revision 1.21 by spiga, Fri Mar 6 18:36:30 2009 UTC vs.
Revision 1.22 by spiga, Tue May 26 10:23:01 2009 UTC

# Line 24 | Line 24 | def LFNBase(forced_path, PrimaryDataset=
24   if __name__ == '__main__' :
25      """
26      """
27 <    from crab_logger import Logger
28 <    from WorkSpace import *
29 <    continue_dir = os.path.expanduser("~")
30 <    cfg_params={'USER.logdir' : continue_dir }
31 <    common.work_space = WorkSpace(continue_dir, cfg_params)
32 <    log = Logger()
33 <    common.logger = log
27 >    import logging
28 >    common.logger = logging
29  
30      print "xx %s xx"%getUserName()
31      baselfn = LFNBase("datasetstring")

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines