[Rapier-commits] r216 - trunk/src
This list send mail when a change occurs on the subversion repository
rapier-commits at garage.maemo.org
Fri Oct 23 20:35:19 EEST 2009
Author: pamadio
Date: 2009-10-23 20:35:19 +0300 (Fri, 23 Oct 2009)
New Revision: 216
Modified:
trunk/src/swordutils.py
Log:
gnomevfs and gconf import
Modified: trunk/src/swordutils.py
===================================================================
--- trunk/src/swordutils.py 2009-10-23 17:21:38 UTC (rev 215)
+++ trunk/src/swordutils.py 2009-10-23 17:35:19 UTC (rev 216)
@@ -20,12 +20,18 @@
http://developer.gnome.org/doc/API/gnome-vfs/
"""
import Sword
-from gnome import gnomevfs
+try:
+ from gnome import gnomevfs
+except:
+ import gnomevfs
import os
import tarfile
import re
import osso
-from gnome import gconf
+try:
+ from gnome import gconf
+except:
+ import gconf
import sys
More information about the Rapier-commits
mailing list