From 0154795ba35da0aba21af95b1031af71cc973eb9 Mon Sep 17 00:00:00 2001
From: Gonzalo Odiard <godiard@sugarlabs.org>
Date: Thu, 23 Dec 2010 05:56:21 -0200
Subject: [PATCH] Add default value a parameter in contentbundle.install method
When the bundle is installed from a pendrive, don't send the parameter
and the install fail.
---
src/sugar/bundle/contentbundle.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/sugar/bundle/contentbundle.py b/src/sugar/bundle/contentbundle.py
index 7ee486e..095bef9 100644
a
|
b
|
class ContentBundle(Bundle): |
235 | 235 | else: |
236 | 236 | return False |
237 | 237 | |
238 | | def install(self, install_path): |
| 238 | def install(self, install_path=None): |
239 | 239 | # TODO ignore passed install_path argument |
240 | 240 | # needs rethinking while fixing ContentBundle support |
241 | 241 | install_path = env.get_user_library_path() |