##// END OF EJS Templates
dispatch: tolerate non-standard version strings in tuplever() (issue3470)...
Adrian Buehlmann -
r16839:0a0cf3f2 default
parent child Browse files
Show More
@@ -252,8 +252,10 b' def _runcatch(req):'
252 return -1
252 return -1
253
253
254 def tuplever(v):
254 def tuplever(v):
255 try:
255 return tuple([int(i) for i in v.split('.')])
256 return tuple([int(i) for i in v.split('.')])
256
257 except ValueError:
258 return tuple()
257
259
258 def aliasargs(fn, givenargs):
260 def aliasargs(fn, givenargs):
259 args = getattr(fn, 'args', [])
261 args = getattr(fn, 'args', [])
General Comments 0
You need to be logged in to leave comments. Login now