... | ... |
@@ -39,7 +39,10 @@ class S3Uri(object): |
39 | 39 |
|
40 | 40 |
def __unicode__(self): |
41 | 41 |
return self.uri() |
42 |
- |
|
42 |
+ |
|
43 |
+ def __repr__(self): |
|
44 |
+ return "<%s: %s>" % (self.__class__.__name__, self.__unicode__()) |
|
45 |
+ |
|
43 | 46 |
def public_url(self): |
44 | 47 |
raise ValueError("This S3 URI does not have Anonymous URL representation") |
45 | 48 |
|