X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=pcuinfo.py;h=c9d1e90b07aad7edf9164c8c06f378efc7d06e63;hb=fc9068f6a15adbfd5b37bce5d223e0f83578fa06;hp=d6d5e871571b0e6cdc1097ba65692c516e8c54ff;hpb=c3f2afdc81c6711c3825c82e2cd4970671575438;p=monitor.git diff --git a/pcuinfo.py b/pcuinfo.py index d6d5e87..c9d1e90 100755 --- a/pcuinfo.py +++ b/pcuinfo.py @@ -30,10 +30,10 @@ if not config.run: print "Add --run to actually perform the command" sys.exit(1) -pculist = database.if_cached_else_refresh(1, - config.refresh, - "pculist", - lambda : plc.GetPCUs()) +pculist = plccache.l_pcus # database.if_cached_else_refresh(1, + # config.refresh, + # "pculist", + # lambda : plc.GetPCUs()) for pcu in pculist: #print pcu #sys.exit(1)