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:
authorBenjamin Berg <benjamin@sipsolutions.net>2008-08-24 12:33:58 (GMT)
committer Benjamin Berg <benjamin@sipsolutions.net>2008-08-24 12:33:58 (GMT)
commit927ae13aec406cd3d3f67d6e10a8ef1f253a0a80 (patch)
treec36d060a0656f161e9d30332c3088bc5c6bb35bb /src/sugar/bundle/contentbundle.py
parent3d3e453157ec8c1b107fac2bca5c46681c6cb0ad (diff)
parentc3873bfdcb78bf5e50568b591b3d9deec4d3d9db (diff)
Merge branch 'master' of git+ssh://benzea@dev.laptop.org/git/sugar-toolkit
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 f99c13a..389fd70 100644
--- a/src/sugar/bundle/contentbundle.py
+++ b/src/sugar/bundle/contentbundle.py
@@ -195,7 +195,7 @@ class ContentBundle(Bundle):
return "file://" + urllib.pathname2url(self.get_start_path())
def is_installed(self):
- if self._unpacked:
+ if self._zip_file is None:
return True
elif os.path.isdir(self.get_root_dir()):
return True
@@ -207,7 +207,7 @@ class ContentBundle(Bundle):
self._run_indexer()
def uninstall(self):
- if self._unpacked:
+ if self._zip_file is None:
if not self.is_installed():
raise NotInstalledException
install_dir = self._path