Mercurial > hg > carton
comparison carton.py @ 31:8fef97a25925
near version bump and documentation
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 11 Jul 2011 12:56:46 -0700 |
parents | 0b9c124f128b |
children | 122c56779f2b |
comparison
equal
deleted
inserted
replaced
30:0b9c124f128b | 31:8fef97a25925 |
---|---|
154 os.chmod(carton_filename, 0755) | 154 os.chmod(carton_filename, 0755) |
155 except: | 155 except: |
156 # you probably don't have os.chmod | 156 # you probably don't have os.chmod |
157 pass | 157 pass |
158 | 158 |
159 # TODO: cleanup tempdir | 159 # cleanup virtualenv tempdir |
160 # shutil.rmtree(tempdir) | 160 shutil.rmtree(tempdir) |
161 """ | 161 """ |
162 | 162 |
163 def isURL(path): | 163 def isURL(path): |
164 return path.startswith('http://') or path.startswith('https://') | 164 return path.startswith('http://') or path.startswith('https://') |
165 | 165 |