datacater icon indicating copy to clipboard operation
datacater copied to clipboard

Remove long code duplication

Open hknlof opened this issue 3 years ago • 1 comments

In our runner.py we now have two function, which almost do the same thing and have a roughly 100 lines duplications. Let's put some effort into cleaning this up in the coming weeks.

Reference: First Block https://github.com/DataCater/datacater/blob/main/python-runner/runner.py#L87

Second Block https://github.com/DataCater/datacater/blob/main/python-runner/runner.py#L209

hknlof avatar Jan 09 '23 13:01 hknlof

@HknLof and I had a look at this issue in a call. Removing duplicates looks rather complicated. We ignore it for now.

flippingbits avatar Mar 02 '23 14:03 flippingbits