Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/bundle/bundle.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/bundle/bundle.py')
-rw-r--r--src/sugar/bundle/bundle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sugar/bundle/bundle.py b/src/sugar/bundle/bundle.py
index cb110cc..8200d49 100644
--- a/src/sugar/bundle/bundle.py
+++ b/src/sugar/bundle/bundle.py
@@ -103,7 +103,7 @@ class Bundle(object):
if ext != self._unzipped_extension:
raise MalformedBundleException(
'All files in the bundle must be inside a single ' +
- 'directory whose name ends with "%s"' %
+ 'directory whose name ends with %r' %
self._unzipped_extension)
for file_name in file_names:
@@ -118,7 +118,7 @@ class Bundle(object):
if self._zip_file is None:
path = os.path.join(self._path, filename)
try:
- f = open(path, "rb")
+ f = open(path, 'rb')
except IOError:
return None
else: