equal
deleted
inserted
replaced
25 if len(sys.argv) > 3: |
25 if len(sys.argv) > 3: |
26 out = open(sys.argv[3], "ab") |
26 out = open(sys.argv[3], "ab") |
27 |
27 |
28 # variables with empty values may not exist on all platforms, filter |
28 # variables with empty values may not exist on all platforms, filter |
29 # them now for portability sake. |
29 # them now for portability sake. |
30 env = [k for k,v in os.environ.iteritems() |
30 env = [k for k, v in os.environ.iteritems() |
31 if k.startswith("HG_") and v] |
31 if k.startswith("HG_") and v] |
32 env.sort() |
32 env.sort() |
33 |
33 |
34 # edit the variable part of the variable |
34 # edit the variable part of the variable |
35 url = os.environ.get("HG_URL", "") |
35 url = os.environ.get("HG_URL", "") |