mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-05 16:18:02 +01:00
fix typo, 3x
This commit is contained in:
@@ -703,12 +703,12 @@ def fetch_repository(name, remote_url, local_dir, skip_existing=False):
|
||||
|
||||
masked_remote_url = mask_password(remote_url)
|
||||
|
||||
initalized = subprocess.call('git ls-remote ' + remote_url,
|
||||
initialized = subprocess.call('git ls-remote ' + remote_url,
|
||||
stdout=FNULL,
|
||||
stderr=FNULL,
|
||||
shell=True)
|
||||
if initalized == 128:
|
||||
log_info("Skipping {0} ({1}) since it's not initalized".format(name, masked_remote_url))
|
||||
if initialized == 128:
|
||||
log_info("Skipping {0} ({1}) since it's not initialized".format(name, masked_remote_url))
|
||||
return
|
||||
|
||||
if clone_exists:
|
||||
|
||||
Reference in New Issue
Block a user