Mercurial > hg > carton
comparison carton.py @ 4:79f332fb3275
dont know what i was thinking
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 08 Jul 2011 09:46:47 -0700 |
parents | 75919adb199a |
children | e6a62ba0c24d |
comparison
equal
deleted
inserted
replaced
3:75919adb199a | 4:79f332fb3275 |
---|---|
132 # stop on .py; will add it in later | 132 # stop on .py; will add it in later |
133 environment = environment[:-3] | 133 environment = environment[:-3] |
134 sources = args[1:] | 134 sources = args[1:] |
135 | 135 |
136 # tar up the sources | 136 # tar up the sources |
137 tempdir = tempfile.mkdtemp() | |
138 source_buffer = StringIO() | 137 source_buffer = StringIO() |
139 sources_tar = tarfile.open(mode="w:gz", fileobj=source_buffer) | 138 sources_tar = tarfile.open(mode="w:gz", fileobj=source_buffer) |
140 for source in sources: | 139 for source in sources: |
141 | 140 |
142 if isURL(source): | 141 if isURL(source): |