aboutsummaryrefslogtreecommitdiffstats
path: root/src/mount.wikipediafs
diff options
context:
space:
mode:
authorMathieu Blondel <mathieu@mblondel.org>2007-05-24 20:49:43 +0000
committerMathieu BlondelMathieu Blondel <mathieu@mblondel.orgmathieu@mblondel.org>2007-05-24 20:49:43 +0000
commitc2d3ce974e0907e3a3e870ecab857316b2f39872 (patch)
treec6f758a2a6088ac367a0f6b3710c5a44379174dd /src/mount.wikipediafs
parent4bfd2575a447a44b4ca18d39df6dfb38ad928615 (diff)
downloadwikipediafs-c2d3ce974e0907e3a3e870ecab857316b2f39872.tar.gz
Fixed misindentation and left the '-s' option unhandled in mount.wikipediafs.
git-svn-id: http://svn.code.sf.net/p/wikipediafs/code/trunk@47 59acd704-e115-0410-a914-e735a229ed7c
Diffstat (limited to 'src/mount.wikipediafs')
-rwxr-xr-xsrc/mount.wikipediafs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mount.wikipediafs b/src/mount.wikipediafs
index de4fbc6..959df3d 100755
--- a/src/mount.wikipediafs
+++ b/src/mount.wikipediafs
@@ -39,8 +39,8 @@ if not os.environ.has_key("HOME"):
for o in mountoptions.split(","):
if o[0:5] == "home=":
spl = o.split("=")
- if len(spl) == 2:
- home = spl[1]
+ if len(spl) == 2:
+ home = spl[1]
elif o != "noauto" and o != "user" and o != "auto" and o != "nouser":
arr.append(o)
sys.argv[last] = ','.join(arr)
@@ -62,8 +62,8 @@ except:
try:
server = WikipediaFS(version="%prog " + VERSION,
- usage='%prog mountpoint',
- dash_s_do='setsingle')
+ usage='%prog mountpoint',
+ dash_s_do='undef')
server.parse(errex=1)
server.multithreaded = 0