From: nejucomo Date: Sun, 13 Jan 2008 02:55:38 +0000 (-0700) Subject: Formatting changes and a few FIXMEs for tahoe_fuse.py X-Git-Tag: allmydata-tahoe-0.8.0~311 X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=52fc80a54b2bcda07137b325c308bb6ed9cc7f9f;p=tahoe-lafs%2Ftahoe-lafs.git Formatting changes and a few FIXMEs for tahoe_fuse.py --- diff --git a/contrib/fuse/tahoe_fuse.py b/contrib/fuse/tahoe_fuse.py index 5c5e757f..dfe4834f 100644 --- a/contrib/fuse/tahoe_fuse.py +++ b/contrib/fuse/tahoe_fuse.py @@ -38,13 +38,24 @@ import sys, stat, os, errno, urllib try: import simplejson except ImportError, e: - raise SystemExit('Could not import simplejson, which is bundled with Tahoe. Please update your PYTHONPATH environment variable to include the tahoe "support/lib/python/site-packages" directory.') + raise SystemExit('''\ +Could not import simplejson, which is bundled with Tahoe. Please +update your PYTHONPATH environment variable to include the tahoe +"support/lib/python/site-packages" directory. +''') try: import fuse except ImportError, e: - raise SystemExit('Could not import fuse, the pythonic fuse bindings. This dependency of tahoe-fuse.py is *not* bundled with tahoe. Please install it. On debian/ubuntu systems run: sudo apt-get install python-fuse') + raise SystemExit('''\ +Could not import fuse, the pythonic fuse bindings. This dependency +of tahoe-fuse.py is *not* bundled with tahoe. Please install it. +On debian/ubuntu systems run: sudo apt-get install python-fuse +''') + +# FIXME: Check for non-working fuse versions here. +# FIXME: Make this work for all common python-fuse versions. # FIXME: Currently uses the old, silly path-based (non-stateful) interface: fuse.fuse_python_api = (0, 1) # Use the silly path-based api for now.