Skip to content

Commit dcb1525

Browse files
committed
Minor fixes
1 parent b6e6911 commit dcb1525

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

examples/pyinstaller/pyinstaller.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def main():
6464
cefapp_dir = os.path.join(curdir, "dist", "cefapp")
6565
executable = os.path.join(cefapp_dir, "cefapp"+EXE_EXT)
6666
if not os.path.exists(executable):
67-
print("PyInstaller failed, main executable is missing: %s"
67+
print("Error: PyInstaller failed, main executable is missing: %s"
6868
% executable)
6969
sys.exit(1)
7070

@@ -76,7 +76,6 @@ def main():
7676
# console window doesn't close.
7777
if platform.system() == "Windows":
7878
if "--debug" in sys.argv:
79-
# COMSPEC = C:/Windows/System32/cmd.exe
8079
os.system("start cmd /k \"%s\"" % executable)
8180
else:
8281
# SYSTEMROOT = C:/Windows

tools/build_cpp_projects.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ def clean_build_directories_if_forced():
9797

9898
def print_compiler_options():
9999
compiler = get_compiler()
100-
print("[build_cpp.projects] Shared macros:")
100+
print("build_cpp_projects.py] Shared macros:")
101101
pprint(MACROS, indent=3, width=160)
102-
print("[build_cpp.projects] cefpython_app library macros:")
102+
print("[build_cpp_projects.py] cefpython_app library macros:")
103103
pprint(cefpython_app_MACROS, indent=3, width=160)
104-
print("[build_cpp.projects] subprocess executable macros:")
104+
print("[build_cpp_projects.py] subprocess executable macros:")
105105
pprint(subprocess_MACROS, indent=3, width=160)
106-
print("[build_cpp.projects] Compiler options:")
106+
print("[build_cpp_projects.py] Compiler options:")
107107
pprint(vars(compiler), indent=3, width=160)
108108

109109

0 commit comments

Comments
 (0)