summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-08-13 14:17:17 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-08-13 14:17:17 +0000
commitddbd2d169054eae57b942878bd7689ed98ff80f6 (patch)
tree6a7d4ff991392006ab43fed7f400b09d1d87d055
parent0d61c78d2cdcfe1b3ed42c52351bb2c177aaf97a (diff)
downloaddefinitions-ddbd2d169054eae57b942878bd7689ed98ff80f6.tar.gz
Improve chunks log
-rwxr-xr-xscripts/migrate-chunks6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/migrate-chunks b/scripts/migrate-chunks
index 3f836188..92252d3a 100755
--- a/scripts/migrate-chunks
+++ b/scripts/migrate-chunks
@@ -151,14 +151,14 @@ def download_chunks(morph):
fixed_chunk = loader.parse_morphology_text(chunk_morph, name)
fixed_chunk['description'] = fixed_chunk.pop('comments')
loader.save_to_file(chunk['morph'], fixed_chunk)
- print "Fixing error in %s and moving into %s.\n" %(name, chunk['morph'])
+ print "Fixing error in %s and moving into %s." %(name, chunk['morph'])
if "buildsystem" in str(err):
# This error is caused because a typo in a morphology which
# has a field "buildsystem" instead of "build-system".
fixed_chunk = loader.parse_morphology_text(chunk_morph, name)
fixed_chunk['build-system'] = fixed_chunk.pop('buildsystem')
loader.save_to_file(chunk['morph'], fixed_chunk)
- print "Fixing error in %s and moving into %s\n" %(name, chunk['morph'])
+ print "Fixing error in %s and moving into %s" %(name, chunk['morph'])
except morphlib.morphloader.MorphologyNotYamlError as err:
print "ERROR: %s in chunk %s.\n" % (err, chunk_morph)
# This error is caused because there are old morphologies written
@@ -169,7 +169,7 @@ def download_chunks(morph):
fix_chunk = chunk_morph.replace('\t','')
new_chunk = loader.load_from_string(fix_chunk)
loader.save_to_file(chunk['morph'], new_chunk)
- print "Fixing error in %s and moving into %s.\n" %(name, chunk['morph'])
+ print "Fixing error in %s and moving into %s." %(name, chunk['morph'])
def move_strata(morphs):
# Create strata directory