Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
wants to merge 1 commit into from

2 participants

@mdavid
Collaborator

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.

@skinkie
Collaborator

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 authored
    …ich makes cherokee-admin inaccessible)
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/config_version.py
View
2  admin/config_version.py
@@ -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.