[gobject-introspection] g-ir-doc-tool: Fix -o option, use abspath instead of dirname
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] g-ir-doc-tool: Fix -o option, use abspath instead of dirname
- Date: Thu, 15 Mar 2012 15:37:44 +0000 (UTC)
commit 876569a27dd9224f6d274d4edce66862bf4a4f05
Author: Tomeu Vizoso <tomeu vizoso collabora com>
Date: Thu Mar 15 16:36:39 2012 +0100
g-ir-doc-tool: Fix -o option, use abspath instead of dirname
giscanner/mallardwriter.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/mallardwriter.py b/giscanner/mallardwriter.py
index e596eca..3b0b810 100644
--- a/giscanner/mallardwriter.py
+++ b/giscanner/mallardwriter.py
@@ -246,7 +246,7 @@ class MallardWriter(object):
page_id=page_id,
formatter=self._formatter)
- output_file_name = os.path.join(os.path.dirname(output),
+ output_file_name = os.path.join(os.path.abspath(output),
page_id + '.page')
fp = open(output_file_name, 'w')
fp.write(result)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]