diff options
author | Brendan Taylor <whateley@gmail.com> | 2010-11-29 20:11:54 -0700 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2010-12-01 12:10:49 -0700 |
commit | 4fbba2d523ba65b2dad15cf264eb168157cf0f15 (patch) | |
tree | ddecabd4ca306f59bd0456ee4b92ff9a7706ea03 /examples/data/scripts/scheme.py | |
parent | 081c95aee6d6490fdaf67e22c3d6245009462908 (diff) |
remove the positional arguments entirely (breaks backward compatibility)
Diffstat (limited to 'examples/data/scripts/scheme.py')
-rwxr-xr-x | examples/data/scripts/scheme.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/data/scripts/scheme.py b/examples/data/scripts/scheme.py index 0916466..4b0b7ca 100755 --- a/examples/data/scripts/scheme.py +++ b/examples/data/scripts/scheme.py @@ -13,7 +13,7 @@ def detach_open(cmd): print 'USED' if __name__ == '__main__': - uri = sys.argv[8] + uri = sys.argv[1] u = urlparse.urlparse(uri) if u.scheme == 'mailto': detach_open(['xterm', '-e', 'mail', u.path]) |