git-svn-id: https://s3tools.svn.sourceforge.net/svnroot/s3tools/s3cmd/trunk@478 830e0280-6d2a-0410-9c65-932aecc39d9d
Michal Ludvig authored on 2011/04/11 13:03:47... | ... |
@@ -158,7 +158,7 @@ class S3UriFile(S3Uri): |
158 | 158 |
|
159 | 159 |
class S3UriCloudFront(S3Uri): |
160 | 160 |
type = "cf" |
161 |
- _re = re.compile("^cf://([^/]*)(/.*)?", re.IGNORECASE) |
|
161 |
+ _re = re.compile("^cf://([^/]*)/*(.*)", re.IGNORECASE) |
|
162 | 162 |
def __init__(self, string): |
163 | 163 |
match = self._re.match(string) |
164 | 164 |
if not match: |