Skip to content

Commit 42c099b

Browse files
committed
RF: Fuse only available on systems with getuid
1 parent 9b8e37e commit 42c099b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nibabel/cmdline/dicomfs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ class dummy_fuse(object):
2525

2626
try:
2727
import fuse
28+
uid = os.getuid()
29+
gid = os.getgid()
2830
except ImportError:
2931
fuse = dummy_fuse
3032

@@ -33,8 +35,6 @@ class dummy_fuse(object):
3335

3436
from optparse import OptionParser, Option
3537

36-
uid = os.getuid()
37-
gid = os.getgid()
3838
encoding = locale.getdefaultlocale()[1]
3939

4040
fuse.fuse_python_api = (0, 2)

0 commit comments

Comments
 (0)