anaconda icon indicating copy to clipboard operation
anaconda copied to clipboard

Add a function for splitting values into two strings

Open poncovka opened this issue 2 years ago • 1 comments

Call the split_in_two function to split the given value into exactly two strings. This function is useful for safe tuple unpacking.

poncovka avatar Aug 05 '22 10:08 poncovka

I wonder if this is needed, the code actually works as of now. The new version is somewhat easier to read, though.

I promised to simplify the implementation at https://github.com/rhinstaller/anaconda/pull/3981#discussion_r837335867.

poncovka avatar Aug 09 '22 11:08 poncovka

/kickstart-test --testtype smoke

poncovka avatar Aug 16 '22 08:08 poncovka