Subversion Repositories svn.Prod repos

Rev

Rev 33 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33 Rev 37
Line 37... Line 37...
37
 
37
 
38
progname = os.path.basename(sys.argv[0])
38
progname = os.path.basename(sys.argv[0])
39
if (len(sys.argv) == 2):
39
if (len(sys.argv) == 2):
40
        directory = sys.argv[1]
40
        directory = sys.argv[1]
41
        if os.path.isdir(directory):
41
        if os.path.isdir(directory):
42
                start_traverse(directory)
42
            start_traverse(directory)
43
        else:
43
        else:
44
                Usage("ERROR: No directory " + directory + " found")
44
            Usage("ERROR: Not a directory : " + directory)
45
else:
45
else:
46
        Usage("ERROR: 1 argument expected")
46
        Usage("ERROR: 1 argument expected")