Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'widgets.py')
-rw-r--r--widgets.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets.py b/widgets.py
index 55bd511..35b95cc 100644
--- a/widgets.py
+++ b/widgets.py
@@ -166,8 +166,10 @@ class ExportButtonFactory():
fileObject.metadata['title_set_by_user'] = \
act_meta['title_set_by_user']
fileObject.metadata['mime_type'] = format['mime_type']
- fileObject.metadata['fulltext'] = \
- abi.get_content('text/plain', None)[:3000]
+ # due to http://bugzilla.abisource.com/show_bug.cgi?id=13585
+ if abi.get_version() != '3.0':
+ fileObject.metadata['fulltext'] = abi.get_content('text/plain',
+ None)[:3000]
fileObject.metadata['icon-color'] = act_meta['icon-color']