Account for the instance of submodules.pack.Packer #104184

Merged
Sybren A. Stüvel merged 5 commits from Nitin-Rawat-1/flamenco:104183-Error-submitting-job into main 2023-02-17 11:06:08 +01:00

5 Commits

Author SHA1 Message Date
Nitin Rawat
810ac355a7 Include the new line which was removed.
Formatting changes should have there own PR.
2023-02-14 16:23:26 +05:30
Nitin Rawat
0abf83b25b Simplify code to use getattr function
Doing so removes the need to check for a particular implementation of `Packer` object using if-else statements.
2023-02-14 16:00:53 +05:30
Nitin Rawat
518e5fc7ba cleanup: remove traceback.print_exc() 2023-02-14 10:35:24 +05:30
Nitin Rawat
965b99546a Fix: interface.py -> MsgDone class, make actual_checkout_path an Optional attribute
We need to do so, to handle both cases when object of PackTread class is initialised with `submodules.pack.Packer`(don't have `actual_checkout_length attribute) instance or `bat_shaman.Packer`(have `actual_checkout_length` attribute) instance.
2023-02-14 10:30:31 +05:30
Nitin Rawat
ea91a4e44e Account for the instance of submodules.pack.Packer 2023-02-13 20:19:24 +05:30