[Python-apps-commits] r1039 - in packages/pytagsfs/trunk/debian/patches (1 file)
appaji-guest at users.alioth.debian.org
appaji-guest at users.alioth.debian.org
Thu May 8 09:34:21 UTC 2008
Date: Thursday, May 8, 2008 @ 09:34:01
Author: appaji-guest
Revision: 1039
modify based on upstream adaptation
Modified:
packages/pytagsfs/trunk/debian/patches/02_dev_fuse_perms.dpatch
Modified: packages/pytagsfs/trunk/debian/patches/02_dev_fuse_perms.dpatch
===================================================================
--- packages/pytagsfs/trunk/debian/patches/02_dev_fuse_perms.dpatch 2008-05-07 21:05:47 UTC (rev 1038)
+++ packages/pytagsfs/trunk/debian/patches/02_dev_fuse_perms.dpatch 2008-05-08 09:34:01 UTC (rev 1039)
@@ -6,8 +6,8 @@
@DPATCH@
diff -urNad pytagsfs-0.6.0~/modules/pytagsfs/fs.py pytagsfs-0.6.0/modules/pytagsfs/fs.py
---- pytagsfs-0.6.0~/modules/pytagsfs/fs.py 2008-04-30 17:15:02.000000000 +0530
-+++ pytagsfs-0.6.0/modules/pytagsfs/fs.py 2008-04-30 17:15:37.000000000 +0530
+--- pytagsfs-0.6.0~/modules/pytagsfs/fs.py 2008-05-08 15:01:16.000000000 +0530
++++ pytagsfs-0.6.0/modules/pytagsfs/fs.py 2008-05-08 15:02:41.000000000 +0530
@@ -45,6 +45,7 @@
log_debug,
log_info,
@@ -16,16 +16,19 @@
set_log_level,
DEBUG,
INFO,
-@@ -452,7 +453,11 @@
+@@ -452,8 +453,13 @@
except OptParseError, e:
self.parser.error(unicode(e))
- retval = super(FileSystemMappingToRealFiles, self).main()
-+ retval = 1
+- self.source_tree_rep.stop()
+ try:
+ retval = super(FileSystemMappingToRealFiles, self).main()
-+ except:
-+ log_error(u'error: are you a part of the fuse group?')
- self.source_tree_rep.stop()
++ except fuse.FuseError, e:
++ retval = 1
++ log_error(unicode(e))
++ else:
++ self.source_tree_rep.stop()
return retval
+ def parse(self, *args, **kwargs):
More information about the Python-apps-commits
mailing list