bin/pvl.rrd-interfaces
changeset 426 b2078645456a
parent 425 4e828d47421a
child 430 e928258a1229
equal deleted inserted replaced
425:4e828d47421a 426:b2078645456a
    92                 hostreverse(host) if options.reverse_host else host,
    92                 hostreverse(host) if options.reverse_host else host,
    93                 port + '.rrd'
    93                 port + '.rrd'
    94         )
    94         )
    95 
    95 
    96         # sync
    96         # sync
    97         if os.path.exists(linkpath) and os.path.readlink(linkpath) == rrdpath :
    97         if os.path.exists(linkpath) and os.readlink(linkpath) == rrdpath :
    98             continue
    98             continue
    99             
    99             
   100         log.info("%s: %s", linkpath, rrdpath)
   100         log.info("%s: %s", linkpath, rrdpath)
   101         
   101         
   102         yield linkpath, rrdpath
   102         yield linkpath, rrdpath