summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Israelsson Tampe <stefan.itampe@gmail.com>2019-03-13 12:44:26 +0100
committerStefan Israelsson Tampe <stefan.itampe@gmail.com>2019-03-13 12:44:26 +0100
commit7a4c715f24fb10b6b0724704b7120da4c2b173bb (patch)
tree367f5a6c19b5c29abb8dfd418bf35846a5b5020c
parentf3d38ea4612624197d56b9262b7b5ee51367eba7 (diff)
sielence warnings
-rw-r--r--modules/language/python/module/os.scm4
-rw-r--r--modules/language/python/module/pwd.scm4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/language/python/module/os.scm b/modules/language/python/module/os.scm
index 64c93b2..a17cc86 100644
--- a/modules/language/python/module/os.scm
+++ b/modules/language/python/module/os.scm
@@ -27,7 +27,7 @@
#:use-module (language python module resource)
#:use-module (language python list)
- #:replace (getcwd getuid getenv)
+ #:replace (getcwd getuid getenv stat)
#:export (error name ctermid environ environb chdir fchdir
fsencode fdencode fspath PathLike getenvb
get_exec_path getgid getegid geteuid fdopen
@@ -62,7 +62,7 @@
lchown lchmod lchflags getcwdb fchdir chroot chown chmod
chflags chdir access listdir link
- stat lstat mkdir mkdirs mkfifo mknod major
+ lstat mkdir mkdirs mkfifo mknod major
minor makedev pathconf_names pathconf readlink remove
unlink rmdir removedirs rename replace renames scandir
diff --git a/modules/language/python/module/pwd.scm b/modules/language/python/module/pwd.scm
index 952d4c8..0fa7013 100644
--- a/modules/language/python/module/pwd.scm
+++ b/modules/language/python/module/pwd.scm
@@ -4,8 +4,8 @@
#:use-module (language python exceptions)
#:use-module (language python yield)
#:use-module (language python try)
- #:replace (getpwuid)
- #:export (getpwnam getpwall))
+ #:replace (getpwuid getpwnam)
+ #:export (getpwall))
(define-python-class PWD (Sequence)
(define __init__