예제 #1
0
def countPIDtype(args):
    cred = Credentials('os', args.credpath)
    cred.parse()
    pidm = PIDManagement(cred)
    result = pidm.requestPID(cred, args.typepid, args.searchfield)
    print "Number of PIDs = ", len(result)
예제 #2
0
def countPIDtype(args):
	cred = Credentials('os',args.credpath)
	cred.parse()
	pidm = PIDManagement(cred)
	result = pidm.requestPID(cred,args.typepid,args.searchfield)
	logging.info("Number of PIDs = %s" % len(result))
예제 #3
0
def countPIDprefix(args):
    cred = Credentials('os', args.credpath)
    cred.parse()
    pidm = PIDManagement(cred)
    result = pidm.requestPID(cred, "limit", "0")
    print "Number of PIDs = ", len(result)
예제 #4
0
def countPIDprefix(args):
	cred = Credentials('os',args.credpath)
	cred.parse()
	pidm = PIDManagement(cred)
	result = pidm.requestPID(cred,"limit","0")
	logging.info("Number of PIDs = %s" % len(result))