summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-08-13 14:23:00 (GMT)
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-08-13 14:23:00 (GMT)
commit20c28abbfe6b00b36b25d271e0d2bbbbfca0f1b4 (patch)
treea0b6573db1eeb7d9da226b9b2f6f6ce66d0d848c
parente6fc0f6c1fbdbcbda4529f4a4d793bd68ac0ab99 (diff)
downloaddefinitions-20c28abbfe6b00b36b25d271e0d2bbbbfca0f1b4.tar.gz
WIP: FIXUPME
-rwxr-xr-xscripts/migrate-chunks2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/migrate-chunks b/scripts/migrate-chunks
index 64613e1..104076f 100755
--- a/scripts/migrate-chunks
+++ b/scripts/migrate-chunks
@@ -130,10 +130,10 @@ def download_chunks(morph):
ref = chunk['ref']
repo = parse_repo_alias(chunk['repo'])
try:
+ print "\nDownloading %s from %s into %s" %(name, repo, chunk['morph'])
chunk_morph = cat_file(repo, ref, name)
new_chunk = loader.load_from_string(chunk_morph)
loader.save_to_file(chunk['morph'], new_chunk)
- print "\nDownloading %s from %s into %s" %(name, repo, chunk['morph'])
except urllib2.HTTPError as err:
# If there is no morphology in the repository we assume that the morphology
# system will be autodetected, so we don't have to create a new one