Cole Robinson
Cole Robinson
Note, it may not just be about path existing. For unpriv user on Fedora 36 `os.path.exists("/etc/keylime.conf")` will succeed but `open("/etc/keylime.conf", "r")` will fail. So may need an `os.access` check too...
Thanks for the info. I have a busted youtube playlist link too, but using ytdl at least the first track in the playlist is m4a and I suspect all the...
Nothing ever landed in python-bugzilla git for this. But I just sent two PRs that kinda help: - This one adds `query_return_extra()` function which returns `(buglist, values)`, where values is...
@ptalbert sorry for the long delay. I'm neutral on adding an `add_comment` API since for most (all?) upstream bugzilla usecases we can use Bug.update. But if the PR is all...
Been dormant for a while, so closing. I'm guessing with redhat's reduced usage of bugzilla this is less interesting to the submitter, but if you are still interested, please resubmit...
Yes that's a good idea
> This works for me. However it doesn't parse: > > ``` > /dev/mapper/vg00-vartmp /var/tmp xfs rw,nodev,nosuid,noexec,relatime,, 0 0 > ``` > > saying: > > ``` > /home/rjones/d/augeas/lenses/tests/test_fstab.aug:187.2-199.3:exception thrown...
In my testing, the multiple commas were ignored. Now looking at util-linux code the opstr parsing basically iterates over the string using ul_optstr_next: https://github.com/util-linux/util-linux/blob/master/lib/strutils.c#L1234 Option parsing stops at the first...
Updated now to deal with leading commas too
Thanks for the suggestion, and I agree `get_comments` is the better naming at this point, but the deprecation stuff is maintenance pain for not a lot of gain IMO. Can...