Permalink
Browse files

Fix check command

  • Loading branch information...
1 parent b74be93 commit 49d91f70977ecfa66a473b837d821dac85983737 @guillaumebort guillaumebort committed Oct 29, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 framework/pym/play/commands/check.py
@@ -65,6 +65,7 @@ def __init__(self, strversion):
self.numpart = re.findall(r"\d+[\.\d+]+", strversion)[0]
self.rest = strversion.replace(self.numpart, "")
self.versions = map(lambda x: int(x), self.numpart.split("."))
+ if not self.rest: self.rest = "Z" # Hack for final release
def url(self):
return "http://download.playframework.org/releases/play-" + self.strversion + ".zip"

0 comments on commit 49d91f7

Please sign in to comment.