summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2017-12-15 10:28:44 +0000
committerintrigeri <intrigeri@boum.org>2017-12-15 10:28:44 +0000
commit32ea0ce678f0ee506e5b9c650ced95dbd68a092f (patch)
tree3028ba5eef1529dd91d373b8f3d6010f92683f9a
parent7ebbcd74c130ba536d6b8513bd82afe5a66f0ad4 (diff)
ASP: import os explicitly.
I'm not the local Python expert, but it feels risky to rely on the fact that importing os.path implicitly imports os too as a side-effect: if we ever remove all usage of os.path, one (at least I) might think we can stop importing this module, which would break our other usage of os module members.
-rwxr-xr-xconfig/chroot_local-includes/usr/local/sbin/tails-additional-software1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/chroot_local-includes/usr/local/sbin/tails-additional-software b/config/chroot_local-includes/usr/local/sbin/tails-additional-software
index da7fb33..32f585e 100755
--- a/config/chroot_local-includes/usr/local/sbin/tails-additional-software
+++ b/config/chroot_local-includes/usr/local/sbin/tails-additional-software
@@ -2,6 +2,7 @@
import gettext
import glob
+import os
import os.path
import pwd
import subprocess