Skip to content

Commit

Permalink
Merge pull request beeware#723 from Vab-jain/master
Browse files Browse the repository at this point in the history
Adding 'Azul Systems, Inc.' as a vendor (fixes beeware#722)
  • Loading branch information
eliasdorneles authored Jan 12, 2018
2 parents a8810f9 + 8fffad9 commit cdbf3ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/common/python/platform.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ public class platform extends org.python.types.Module {
platform_class_name = "python._platform.JavaPlatform";
} else if (vendor.equals("The Android Project")) {
platform_class_name = "python._platform.AndroidPlatform";
} else {
} else if (vendor.equals("Azul Systems, Inc.")) {
platform_class_name = "python._platform.JavaPlatform";
} else {
throw new org.python.exceptions.RuntimeError("Unknown platform vendor '" + vendor + "'");
}

Expand Down

0 comments on commit cdbf3ff

Please sign in to comment.