Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/bundle/bundle.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-09-26 08:09:55 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-09-26 08:09:55 (GMT)
commit2a197bb8b863a0f2a71e40a501fe5f2e8e07f371 (patch)
treec7f2f088b5c628aaa61ec31284121fb790d18f97 /sugar/bundle/bundle.py
parent55baffea32b3754ca120a75ce1b1ebd76ba613f8 (diff)
parent8ff6cbab1ea5f2b45064c278fbf77e4a1931f5c2 (diff)
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Diffstat (limited to 'sugar/bundle/bundle.py')
-rw-r--r--sugar/bundle/bundle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/bundle/bundle.py b/sugar/bundle/bundle.py
index a2e9076..75b4b38 100644
--- a/sugar/bundle/bundle.py
+++ b/sugar/bundle/bundle.py
@@ -127,7 +127,7 @@ class Bundle:
zip.write(filename, os.path.join(base_dir, filename))
zip.close()
- def remove(self):
+ def _uninstall(self):
ext = os.path.splitext(self._path)[1]
if self._unpacked:
if not os.path.isdir(self._path) or ext != self._unzipped_extension:
@@ -137,7 +137,7 @@ class Bundle:
os.remove(os.path.join(root, name))
for name in dirs:
os.rmdir(os.path.join(root, name))
- os.rmdir(root)
+ os.rmdir(self._path)
else:
if not os.path.isfile(self._path) or ext != self._zipped_extension:
raise InvalidPathException