Rev 33 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 33 | Rev 37 | ||
---|---|---|---|
Line 39... | Line 39... | ||
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") |