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

Unsupported format character 'B' #124

Closed
pypingou opened this issue Mar 31, 2015 · 1 comment
Closed

Unsupported format character 'B' #124

pypingou opened this issue Mar 31, 2015 · 1 comment

Comments

@pypingou
Copy link
Member

Text-Tabs+Wrap
Traceback (most recent call last):
  File "/usr/share/anitya/anitya_cron.py", line 70, in <module>
    main(debug=debug)
  File "/usr/share/anitya/anitya_cron.py", line 58, in main
    anitya.check_release(project, session)
  File "/usr/lib/python2.7/site-packages/anitya/__init__.py", line 60, in check_release
    up_version = backend.get_version(project)
  File "/usr/lib/python2.7/site-packages/anitya/lib/backends/custom.py", line 48, in get_version
    return cls.get_ordered_versions(project)[-1]
  File "/usr/lib/python2.7/site-packages/anitya/lib/backends/__init__.py", line 219, in get_ordered_versions
    vlist = self.get_versions(project)
  File "/usr/lib/python2.7/site-packages/anitya/lib/backends/custom.py", line 70, in get_versions
    regex = regex % {'name': project.name.replace('+', '\+')}
ValueError: unsupported format character 'B' (0x42) at index 11
@pypingou pypingou changed the title Escape + in name Unsupported format character 'B' Mar 31, 2015
@pypingou
Copy link
Member Author

Fixed in #125

@pypingou pypingou reopened this Mar 31, 2015
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