cleaner code
This commit is contained in:
parent
325e153d3d
commit
e7a174abc1
|
@ -40,7 +40,7 @@ for version in MarcReleases:
|
||||||
os.remove(sym_link)
|
os.remove(sym_link)
|
||||||
sys.stdout.write(sym_link)
|
sys.stdout.write(sym_link)
|
||||||
else:
|
else:
|
||||||
sys.stdout.write(damask.util.bcolors.BOLD + sym_link + damask.util.bcolors.ENDC)
|
sys.stdout.write(damask.util.emph(sym_link))
|
||||||
|
|
||||||
os.symlink(src,sym_link)
|
os.symlink(src,sym_link)
|
||||||
sys.stdout.write(' -> '+src+'\n')
|
sys.stdout.write(' -> '+src+'\n')
|
||||||
|
|
|
@ -29,7 +29,7 @@ for subDir in processing_subDirs:
|
||||||
os.remove(sym_link)
|
os.remove(sym_link)
|
||||||
sys.stdout.write(sym_link)
|
sys.stdout.write(sym_link)
|
||||||
else:
|
else:
|
||||||
sys.stdout.write(damask.util.bcolors.BOLD + sym_link + damask.util.bcolors.ENDC)
|
sys.stdout.write(damask.util.emph(sym_link))
|
||||||
|
|
||||||
os.symlink(src,sym_link)
|
os.symlink(src,sym_link)
|
||||||
sys.stdout.write(' -> '+src+'\n')
|
sys.stdout.write(' -> '+src+'\n')
|
||||||
|
|
Loading…
Reference in New Issue