summaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/main.py b/main.py
index b43a48fb..f41fb803 100755
--- a/main.py
+++ b/main.py
@@ -1,4 +1,4 @@
1#!/bin/sh 1#!/usr/bin/env python
2# 2#
3# Copyright (C) 2008 The Android Open Source Project 3# Copyright (C) 2008 The Android Open Source Project
4# 4#
@@ -14,14 +14,6 @@
14# See the License for the specific language governing permissions and 14# See the License for the specific language governing permissions and
15# limitations under the License. 15# limitations under the License.
16 16
17magic='--calling-python-from-/bin/sh--'
18"""exec" python -E "$0" "$@" """#$magic"
19if __name__ == '__main__':
20 import sys
21 if sys.argv[-1] == '#%s' % magic:
22 del sys.argv[-1]
23del magic
24
25import getpass 17import getpass
26import imp 18import imp
27import netrc 19import netrc