addftool 0.0.8__py3-none-any.whl → 0.0.9__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 +2 -2
- {addftool-0.0.8.dist-info → addftool-0.0.9.dist-info}/METADATA +2 -2
- addftool-0.0.9.dist-info/RECORD +9 -0
- {addftool-0.0.8.dist-info → addftool-0.0.9.dist-info}/WHEEL +1 -1
- addftool-0.0.8.dist-info/RECORD +0 -9
- {addftool-0.0.8.dist-info → addftool-0.0.9.dist-info}/entry_points.txt +0 -0
- {addftool-0.0.8.dist-info → addftool-0.0.9.dist-info}/top_level.txt +0 -0
addftool/blob.py
CHANGED
|
@@ -220,8 +220,8 @@ def main():
|
|
|
220
220
|
|
|
221
221
|
args = parser.parse_args()
|
|
222
222
|
|
|
223
|
-
# check current user, set --sudo if current user is not root
|
|
224
|
-
if os.getuid() != 0:
|
|
223
|
+
# check os is linux/unix and current user, set --sudo if current user is not root
|
|
224
|
+
if os.name == 'posix' and os.getuid() != 0:
|
|
225
225
|
args.sudo = True
|
|
226
226
|
|
|
227
227
|
if args.command == 'install':
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
addftool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
addftool/blob.py,sha256=XXpPkj5jSaYmUQmQgDd0UU7jSyEwMVVl8wsdb5phOZE,7886
|
|
3
|
+
addftool/tool.py,sha256=EuKQ2t2InN7yB-_oYLcdsA7vRqzRGTunwIxplUSqEG0,2054
|
|
4
|
+
addftool/util.py,sha256=Q3A68vJDxgfeNiEFmk54HuMuworVndocXpSbVpvGMfc,362
|
|
5
|
+
addftool-0.0.9.dist-info/METADATA,sha256=ONQ-JSMtqClGFhO7AJaHWZh_wDkg1An3U_vkag9u5ug,126
|
|
6
|
+
addftool-0.0.9.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
7
|
+
addftool-0.0.9.dist-info/entry_points.txt,sha256=h5TlQy4AQw-J55HqI7FRkIVRUfw-x3pStFWCoYtoCTM,78
|
|
8
|
+
addftool-0.0.9.dist-info/top_level.txt,sha256=jqj56-plrBbyzY0tIxB6wPzjAA8kte4hUlajyyQygN4,9
|
|
9
|
+
addftool-0.0.9.dist-info/RECORD,,
|
addftool-0.0.8.dist-info/RECORD
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
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,,
|
|
File without changes
|
|
File without changes
|