diff mx/mx_graal.py @ 16629:be59a1d39281

respect dependency order between distributions when building them
author Doug Simon <doug.simon@oracle.com>
date Thu, 31 Jul 2014 14:43:37 +0200
parents d3fec84757ed
children 07a4ed7c66a3
line wrap: on
line diff
--- a/mx/mx_graal.py	Thu Jul 31 13:42:56 2014 +0200
+++ b/mx/mx_graal.py	Thu Jul 31 14:43:37 2014 +0200
@@ -535,7 +535,7 @@
         # Store SHA1 in generated Java class and append class to specified jar
         javaSource = join(_graal_home, 'GeneratedSourcesSha1.java')
         javaClass = join(_graal_home, 'GeneratedSourcesSha1.class')
-        with open (javaSource, 'w') as fp:
+        with open(javaSource, 'w') as fp:
             print >> fp, 'class GeneratedSourcesSha1 { private static final String value = "' + sha1 + '"; }'
         subprocess.check_call([mx.java().javac, '-d', _graal_home, javaSource], stderr=subprocess.PIPE, stdout=subprocess.PIPE)
         zf = zipfile.ZipFile(dist.path, 'a')