Skip to content
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

Make location_href of createrepo_c.package_from_rpm consistent with createrepo_c.Package.location_href #24

Closed
ghost opened this issue Jun 9, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 9, 2015

If I pass a Unicode string to createrepo_c.package_from_rpm (e.g. createrepo_c.package_from_rpm(path, location_href=u'foo')), it seems to work while package.location_href = u'foo' causes TypeError: String or None expected!. I think that both should behave the same wrt to Unicode strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant