Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/bundle/contentbundle.py
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2010-10-15 19:14:59 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2010-11-23 16:14:34 (GMT)
commit7acfbd070fa207dff309383da6e743ad2b9843c3 (patch)
tree662b4cb7ff5494f162365d85098e7fce7179d35e /src/sugar/bundle/contentbundle.py
parent5f13fcfc847ecff18b9558de8ce29da884a06d7a (diff)
style cleanup: prefer ' for strings
Tomeu prefers ' for strings, so let's use it wherever we don't have a good reason to use ". Reviewed-by: James Cameron <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
Diffstat (limited to 'src/sugar/bundle/contentbundle.py')
-rw-r--r--src/sugar/bundle/contentbundle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sugar/bundle/contentbundle.py b/src/sugar/bundle/contentbundle.py
index 48e05a1..5411a0f 100644
--- a/src/sugar/bundle/contentbundle.py
+++ b/src/sugar/bundle/contentbundle.py
@@ -97,7 +97,7 @@ class ContentBundle(Bundle):
self._l10n = False
else:
raise MalformedBundleException(
- 'Content bundle %s has invalid l10n key "%s"' %
+ 'Content bundle %s has invalid l10n key %r' %
(self._path, l10n))
else:
raise MalformedBundleException(
@@ -196,7 +196,7 @@ class ContentBundle(Bundle):
return os.path.join(self.get_root_dir(), self._activity_start)
def get_start_uri(self):
- return "file://" + urllib.pathname2url(self.get_start_path())
+ return 'file://' + urllib.pathname2url(self.get_start_path())
def get_bundle_id(self):
# TODO treat ContentBundle in special way