rust/hgcli/pyoxidizer.bzl
branchstable
changeset 47848 5f2b0d34f24d
parent 47643 11f834e7177d
child 47850 b962a913ee3b
--- a/rust/hgcli/pyoxidizer.bzl	Wed Aug 18 15:05:25 2021 +0200
+++ b/rust/hgcli/pyoxidizer.bzl	Wed Aug 18 16:02:46 2021 +0200
@@ -35,7 +35,12 @@
 IS_WINDOWS = "windows" in BUILD_TARGET_TRIPLE
 
 # Code to run in Python interpreter.
-RUN_CODE = "import hgdemandimport; hgdemandimport.enable(); from mercurial import dispatch; dispatch.run()"
+RUN_CODE = """
+import hgdemandimport;
+hgdemandimport.enable();
+from mercurial import dispatch;
+dispatch.run();
+"""
 
 set_build_path(ROOT + "/build/pyoxidizer")