Exemple #1
0
def test_uses():
    from garpi import cmt
    dir = os.path.join(lcgcmt.proj_dir(),'LCG_Release')
    #print 'Getting uses from %s'%dir
    uses = cmt.get_uses(dir)
    for use in uses:
        print str(use)
Exemple #2
0
def test_uses():
    pkgdir='projects/interim/InterimRelease'
    uses = cmt.get_uses(pkgdir)
    print 'Got %d uses:'%len(uses)
    for use in uses:
        print 'Use:',use,'use.project=',use.project