Open junsulee75 opened 5 hours ago
Python meny.py syntax warnings.
********************************************** Copying /root/kube_baremetal/watch.pl ********************************************** /usr/local/bin/watch.pl /usr/local/bin/menu.py:89: SyntaxWarning: invalid escape sequence '\d' match = re.search("(\d+)d(\d+)",val) /usr/local/bin/menu.py:119: SyntaxWarning: invalid escape sequence '\[' found = re.findall("(\[.*?\]-\[.*?\])", cmd ) /usr/local/bin/menu.py:121: SyntaxWarning: invalid escape sequence '\[' (qn, ans) = re.findall("\[(.*)\]-\[(.*)\]", match)[0] /usr/local/bin/menu.py:174: SyntaxWarning: invalid escape sequence '\$' found = re.findall("\$\{(.*?)\}", tstr ) Keystrokes ['1', '1', '8'] YAML [1.0.0] : menu.yaml , Current working directory = /root/kube_baremetal [ 0 ] : .. [ 1 ] : Kubenetes install * [ 2 ] : quit
Scripts runs successfully. Minor glitch.
This happens on Ubuntu 24.04. Not happening on Ubuntu 22.04.
Python meny.py syntax warnings.