Skip to content


quick hack to deal with issue of converting the string '0A1' to an int #17

wants to merge 1 commit into from

2 participants

Cherokee Project member

This issue only makes itself known when running cherokee-admin with -x and otherwise causes cherokee-admin to be inaccessible with a 503 timeout error.

Cherokee Project member

I think we should deal with this in a better way. Either a regular expression to prevent future problems, because it already splits on 'b'.

@skinkie skinkie closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 10, 2012
  1. @mdavid

    quick hack to deal issue of converting the string '0A1' to an int (wh…

    mdavid committed
    …ich makes cherokee-admin inaccessible)
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/
2 admin/
@@ -88,7 +88,7 @@ def config_version_get_current():
major = int(v1)
minor = int(v2)
- micro = int(v3)
+ micro = int(v3.strip('A1'))
return "%03d%03d%03d" %(major, minor, micro)
Something went wrong with that request. Please try again.