[jhbuild] fix calling config.load() without parameter (fix buildbot server)
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] fix calling config.load() without parameter (fix buildbot server)
- Date: Fri, 22 Jun 2012 11:01:14 +0000 (UTC)
commit 9d8543fb70bfeb9ad678c686f4522c7b03d26c8c
Author: FrÃdÃric PÃters <fpeters 0d be>
Date: Fri Jun 22 12:59:53 2012 +0200
fix calling config.load() without parameter (fix buildbot server)
jhbuild/config.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/config.py b/jhbuild/config.py
index 5b5b26b..bc402dd 100644
--- a/jhbuild/config.py
+++ b/jhbuild/config.py
@@ -243,7 +243,7 @@ class Config:
traceback.print_exc()
raise FatalError(_('Could not include config file (%s)') % filename)
- def load(self, filename):
+ def load(self, filename=None):
config = self._config
if filename:
try:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]