Disable warning 2exceed height" in layoutxy, (bin/CreatePanel.py)
Warning, cannot access the index:
_darcs/index: opening of '_darcs/index' failed: permission denied (Permission denied)
diff -rN -u old-bii_scripts/bin/CreatePanel.py new-bii_scripts/bin/CreatePanel.py
--- old-bii_scripts/bin/CreatePanel.py 2022-12-09 19:49:06.835802054 +0100
+++ new-bii_scripts/bin/CreatePanel.py 2022-12-09 19:49:06.835802054 +0100
@@ -772,10 +772,10 @@
dWidth.text = str(xMax)
else:
if int(dWidth.text) < xMax:
- sys.stderr.write("Warning: Display width {} smaler than calculated, set to {}".format(dWidth.text,str(xMax))+"\n" );
+# sys.stderr.write("Warning: Display width {} smaler than calculated, set to {}".format(dWidth.text,str(xMax))+"\n" );
dWidth.text = str(xMax)
if int(dHeight.text) < yMax:
- sys.stderr.write("Warning: Display height {} smaler than calculated, set to {}".format(dHeight.text,str(yMax))+"\n" );
+# sys.stderr.write("Warning: Display height {} smaler than calculated, set to {}".format(dHeight.text,str(yMax))+"\n" );
dHeight.text = str(yMax)
if opts['verbose']:
@@ -937,7 +937,7 @@
if opts['inFile'] != "-":
f= open(opts['inFile'], "r",encoding=opts['encoding'])
else:
- print("(expect input from stdin)\n")
+ if opts['verbose']: print("(expect input from stdin)\n")
f= sys.stdin
substFileStr= f.read()
if opts['inFile'] != "-":
patch ff8c3599994e025f1001327dfc9361592cca21a7
Author: Bernhard.Kuner@bessy.de
Date: Mon Jun 28 14:04:46 CEST 2021
* Disable warning 2exceed height" in layoutxy, (bin/CreatePanel.py