Show More
@@ -51,9 +51,16 b' def has_lsprof():' | |||
|
51 | 51 | except ImportError: |
|
52 | 52 | return False |
|
53 | 53 | |
|
54 | def has_git(): | |
|
55 | fh = os.popen('git --version 2>&1') | |
|
56 | s = fh.read() | |
|
57 | ret = fh.close() | |
|
58 | return ret is None and s.startswith('git version') | |
|
59 | ||
|
54 | 60 | checks = { |
|
55 | 61 | "eol-in-paths": (has_eol_in_paths, "end-of-lines in paths"), |
|
56 | 62 | "execbit": (has_executablebit, "executable bit"), |
|
63 | "git": (has_git, "git command line client"), | |
|
57 | 64 | "fifo": (has_fifo, "named pipes"), |
|
58 | 65 | "hotshot": (has_hotshot, "python hotshot module"), |
|
59 | 66 | "lsprof": (has_lsprof, "python lsprof module"), |
General Comments 0
You need to be logged in to leave comments.
Login now