Show More
@@ -1225,6 +1225,8 b' def versiontuple(v=None, n=4):' | |||||
1225 | if n == 4: |
|
1225 | if n == 4: | |
1226 | return (vints[0], vints[1], vints[2], extra) |
|
1226 | return (vints[0], vints[1], vints[2], extra) | |
1227 |
|
1227 | |||
|
1228 | raise error.ProgrammingError(b"invalid version part request: %d" % n) | |||
|
1229 | ||||
1228 |
|
1230 | |||
1229 | def cachefunc(func): |
|
1231 | def cachefunc(func): | |
1230 | '''cache the result of function calls''' |
|
1232 | '''cache the result of function calls''' |
General Comments 0
You need to be logged in to leave comments.
Login now