Boost logo

Boost Testing :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2005-11-29 04:30:28


Hello all,

the function update_source() in regression.py currently looks like this:

def update_source( user, tag, proxy, args, **unused ):
     if user is not None or os.path.exists( os.path.join( boost_root, 'CVS'
) ):
         open( timestamp_path, 'w' ).close()
         log( 'Updating sources from CVS (%s)...' % timestamp() )
         retry(
               cvs_update
             , ( user, tag, args )
             )
     else:
         get_source( user, tag, proxy, args )

Obviously the first line is supposed to check whether a CVS update can be
done. For this to work correctly, I think the 'or' must be changed to an
'and', right?

Markus


Boost-testing list run by mbergal at meta-comm.com