added function find_glob_pattern to filetools.py#3297
added function find_glob_pattern to filetools.py#3297boegel merged 4 commits intoeasybuilders:developfrom
Conversation
|
I'm probably being too simple-minded here. I think the " |
|
sorry about that, my github was out-of-date, i totally missed the conversation |
|
So, dry-run check at all seems a little bit strange to me; it's mostly used for functions that actually modify files and directories. This is just read only. I suppose it's just to avoid exceptions being thrown when expected directories aren't created due to a dry run? |
|
The dryrun check is inherited from the code that was already in the two EasyBlocks. I did not want to remove it and risk breaking something. |
|
Yeah I'm just not sure if the easyblock |
|
Maybe @kelseymh can comment ? |
This function is used in the bender and the ROOT easyblocks. I also have a need for it in the qscintilla EasyBlock. I generalized it slightly to allow to not raise an exception if no match is found (but instead return None).