addftool 0.0.6__py3-none-any.whl → 0.0.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
addftool/blob.py CHANGED
@@ -98,7 +98,7 @@ def mount_main(args):
98
98
  sas_token = get_token(args, info=True)
99
99
 
100
100
  template = {
101
- 'logging': {'type': 'syslog', 'level': 'log_debug'},
101
+ 'logging': {'type': 'silent', 'level': 'log_off'},
102
102
  'components': ['libfuse', 'file_cache', 'attr_cache', 'azstorage'],
103
103
  'libfuse': {'attribute-expiration-sec': 120, 'entry-expiration-sec': 120, 'negative-entry-expiration-sec': 240},
104
104
  'file_cache': {'path': '', 'timeout-sec': 120, 'max-size-mb': 40960},
@@ -153,7 +153,10 @@ def mount_main(args):
153
153
  break
154
154
  if not exist_user_allow_other:
155
155
  print("Add user_allow_other to /etc/fuse.conf")
156
- pre_command = "echo 'user_allow_other' | sudo tee -a /etc/fuse.conf"
156
+ pre_command = "echo 'user_allow_other' | "
157
+ if args.sudo:
158
+ pre_command = "sudo " + pre_command
159
+ pre_command += "tee -a /etc/fuse.conf"
157
160
  execute_command(pre_command)
158
161
 
159
162
  execute_command(command)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: addftool
3
- Version: 0.0.6
3
+ Version: 0.0.8
4
4
  Requires-Dist: cryptography
5
5
  Requires-Dist: requests
6
6
  Requires-Dist: PyYAML
@@ -0,0 +1,9 @@
1
+ addftool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ addftool/blob.py,sha256=fieUtPtVC4F-f_Zig_nfOz9Af7ZRX9U3MK638Nid0bc,7842
3
+ addftool/tool.py,sha256=EuKQ2t2InN7yB-_oYLcdsA7vRqzRGTunwIxplUSqEG0,2054
4
+ addftool/util.py,sha256=Q3A68vJDxgfeNiEFmk54HuMuworVndocXpSbVpvGMfc,362
5
+ addftool-0.0.8.dist-info/METADATA,sha256=EMKaddTcanPzYPxuCRv4VI_9CNuUmkr034GsKF-jDZw,126
6
+ addftool-0.0.8.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
7
+ addftool-0.0.8.dist-info/entry_points.txt,sha256=h5TlQy4AQw-J55HqI7FRkIVRUfw-x3pStFWCoYtoCTM,78
8
+ addftool-0.0.8.dist-info/top_level.txt,sha256=jqj56-plrBbyzY0tIxB6wPzjAA8kte4hUlajyyQygN4,9
9
+ addftool-0.0.8.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- addftool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- addftool/blob.py,sha256=S5dk20Gn2Ne3UVkKwpI11xSTOndO1W3wVRsJrJmhNOQ,7741
3
- addftool/tool.py,sha256=EuKQ2t2InN7yB-_oYLcdsA7vRqzRGTunwIxplUSqEG0,2054
4
- addftool/util.py,sha256=Q3A68vJDxgfeNiEFmk54HuMuworVndocXpSbVpvGMfc,362
5
- addftool-0.0.6.dist-info/METADATA,sha256=lNcNL-m1MkGnzmWEPZuJmf6ncJICUBZyq07HtWESqlU,126
6
- addftool-0.0.6.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
7
- addftool-0.0.6.dist-info/entry_points.txt,sha256=h5TlQy4AQw-J55HqI7FRkIVRUfw-x3pStFWCoYtoCTM,78
8
- addftool-0.0.6.dist-info/top_level.txt,sha256=jqj56-plrBbyzY0tIxB6wPzjAA8kte4hUlajyyQygN4,9
9
- addftool-0.0.6.dist-info/RECORD,,