]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/scripts/tahoe_put.py
CLI: make the --mutable-type option value for 'tahoe put' and 'tahoe mkdir' case...
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / scripts / tahoe_put.py
index 3dc13773fa75a8a62c97e9c4bce68451330940a5..a92cfc53e9cef047edf23f7093ee14b93b015bf1 100644 (file)
@@ -18,10 +18,7 @@ def put(options):
     from_file = options.from_file
     to_file = options.to_file
     mutable = options['mutable']
-    mutable_type = False
-
-    if mutable:
-        mutable_type = options['mutable-type']
+    mutable_type = options['mutable-type']
     if options['quiet']:
         verbosity = 0
     else: