Show More
@@ -96,21 +96,6 b' def get_scms_for_path(path):' | |||||
96 | return result |
|
96 | return result | |
97 |
|
97 | |||
98 |
|
98 | |||
99 | def get_repo_paths(path): |
|
|||
100 | """ |
|
|||
101 | Returns path's subdirectories which seems to be a repository. |
|
|||
102 | """ |
|
|||
103 | repo_paths = [] |
|
|||
104 | dirnames = (os.path.abspath(dirname) for dirname in os.listdir(path)) |
|
|||
105 | for dirname in dirnames: |
|
|||
106 | try: |
|
|||
107 | get_scm(dirname) |
|
|||
108 | repo_paths.append(dirname) |
|
|||
109 | except VCSError: |
|
|||
110 | pass |
|
|||
111 | return repo_paths |
|
|||
112 |
|
||||
113 |
|
||||
114 | def run_command(cmd, *args): |
|
99 | def run_command(cmd, *args): | |
115 | """ |
|
100 | """ | |
116 | Runs command on the system with given ``args``. |
|
101 | Runs command on the system with given ``args``. |
General Comments 0
You need to be logged in to leave comments.
Login now