diff options
author | Michael Dominic K <mdk@codethink.co.uk> | 2009-09-25 16:35:21 +0200 |
---|---|---|
committer | Michael Dominic K <mdk@codethink.co.uk> | 2009-09-25 16:35:21 +0200 |
commit | 8351dbde6480567ef81f40429bfb39867383dceb (patch) | |
tree | 63308ecf5ee91dd04f9dd24ed94abcc0dbc5825f /python | |
parent | 5a51a78fde01a01c0c785e529811ecf93cad3015 (diff) |
Suport for --v2.
Diffstat (limited to 'python')
-rwxr-xr-x | python/context-provide | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/python/context-provide b/python/context-provide index 6c5aca0d..beb65550 100755 --- a/python/context-provide +++ b/python/context-provide @@ -28,6 +28,14 @@ if len(sys.argv) < 2: print __doc__ sys.exit(1) sys.argv.pop(0) + +if sys.argv[0] == "--v2": + sys.argv.pop(0) + cmd = "./new-context-provide" + while len(sys.argv): + cmd = cmd + " " + sys.argv.pop(0) + exit(os.system(cmd)) + busaddress = sys.argv.pop(0).split(':') if len(busaddress) == 1: busaddress.insert(0, 'session') |