-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An issue in pdu_encoding #12
Comments
Sorry if this is short. I'm on mobile right now. The type for dataCoding.scheme is intended to be an enum, not a string so the "if" test is checking enum equality using the enum module. I hope this makes sense. If not, can u give sample code or test where it fails? Sent from my iPhone On Aug 28, 2012, at 12:19 PM, Fourat Zouari notifications@github.com wrote:
|
Thank you, that make sense now. What about the scheme variable at line 427 ? |
That looks like a bug. Thanks. |
Fixed. Thx. |
at line 427:
first, scheme is not defined so this code would lead to an error; second the test at line 425:
should be fixed with casting values with str() to get the test working.
I didnt push a request with this correction because i didnt understand the difference between _encodeSchemeDataAsInt() method and this one (just on top of it):
schemeName is casted before the "if" test the right way, so is there any reason why its implemented in a different way in _encodeSchemeDataAsInt()
The text was updated successfully, but these errors were encountered: