Merge pull request #288 from johnjhacking/patch-1
This commit is contained in:
		
						commit
						e11f62a9ef
					
				|  | @ -87,8 +87,8 @@ class ReplicationError(Exception): | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def cmd_exists(cmd): | def cmd_exists(cmd): | ||||||
|     return subprocess.call("type " + cmd, shell=True, |     return subprocess.Popen("type " + cmd, shell=True, | ||||||
|                            stdout=subprocess.PIPE, stderr=subprocess.PIPE) == 0 |                            stdout=subprocess.PIPE, stderr=subprocess.PIPE) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def replicate_url(full_url, | def replicate_url(full_url, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue