equal
deleted
inserted
replaced
250 raise |
250 raise |
251 |
251 |
252 return -1 |
252 return -1 |
253 |
253 |
254 def tuplever(v): |
254 def tuplever(v): |
255 return tuple([int(i) for i in v.split('.')]) |
255 try: |
256 |
256 return tuple([int(i) for i in v.split('.')]) |
|
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', []) |
260 if args: |
262 if args: |
261 cmd = ' '.join(map(util.shellquote, args)) |
263 cmd = ' '.join(map(util.shellquote, args)) |