[Rpm-maint] [rpm-software-management/rpm] RFE: Expose _RPMVSF_NOSIGNATURES and _RPMVSF_NODIGESTS (#440)

Miroslav Suchý notifications at github.com
Fri May 4 13:28:33 UTC 2018


Mock is using (for ages):

```
    import rpm
    ts = rpm.TransactionSet('/')
    flags = (rpm._RPMVSF_NOSIGNATURES | rpm._RPMVSF_NODIGESTS)                                                                                       
    ts.setVSFlags(flags)
```

And pylint gives me warnings that: Access to a protected member _RPMVSF_NOSIGNATURES and _RPMVSF_NODIGESTS of a client class.

I was ignoring that for ages.  But today, I decided to do something about it :)

Can you please expose those constants without that underscore? I.e., document it and say it can be used in other code outside of the class?
Of course, keeping the original constant for some transitional period would be nice.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/440
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180504/3fdd52c0/attachment.html>


More information about the Rpm-maint mailing list