diff options
Diffstat (limited to 'tools/stable-check.py')
-rwxr-xr-x | tools/stable-check.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/stable-check.py b/tools/stable-check.py index dbd062330..0f9a2960f 100755 --- a/tools/stable-check.py +++ b/tools/stable-check.py @@ -12,7 +12,10 @@ if __name__ == '__main__': avail = os.popen('svnmerge avail').read().strip() if not avail: raise SystemExit, 0 - start, stop = [int(x) for x in avail.split('-')] + if '-' in avail: + start, stop = [int(x) for x in avail.split('-')] + else: + start = stop = int(avail) bf = [] other = [] |