9eb2d8daf483c8ff9fc5bc4fb176e78586f843e1
[checkpath-python] / test.py
1 import checkpath as CP
2
3 class VerboseCheck (CP.CheckPath):
4 def __init__(me):
5 CP.CheckPath.__init__(me)
6 me.what |= CP.REPORT
7 def report(me, what, verb, path, msg):
8 print msg
9
10 cp = VerboseCheck()
11 cp.check('/home/mdw')
12